Sandbox
@Polydile/dile-components

Web Components catalog for Lit and frontend apps

Dile Components is a catalog of custom elements you can install by package and use in your app. It groups common UI pieces, editor and viewer components, CRUD building blocks, and icon tools into separate packages, with docs and demos for each.

106 stars23 forksJavaScriptUpdated 7d ago
Who it's for

Builders who want reusable web component packages for their app interfaces.

What it delivers

You can add ready-made UI, editor, viewer, and CRUD components instead of building those pieces from scratch.

What it does

UI component package

`@dile/ui` provides common interface elements like buttons, dialogs, form controls, and toast messages.

Markdown editor package

`@dile/editor` provides a Markdown WYSIWYG editor for the web.

PDF viewer package

`@dile/pdf-viewer` adds PDF viewing with zoom and navigation controls.

CRUD component package

`@dile/crud` provides customizable generic CRUD components.

Icon and utility packages

`@dile/icons`, `@dile/iconlib`, and `@dile/utils` cover SVG icons, icon libraries, and helper components.

Catalog docs and demos

`docs/` and `demos/` show the components, their usage, and the catalog site.

How to get it

  1. 1First, install the package that contains the component you want to use. For example, to…
    npm install @dile/ui

README

Dile Components V2

This is the repository for Dile Components, a catalog of Custom Elements built with Web Components and Lit.

Find the full documentation and details of the Dile Components catalog at dile-components.com

If you're looking for the previous version of this component catalog, you can find it in this repository: https://github.com/Polydile/Components-legacy

Packages in This Repository

  • @dile/ui: Components for building common user interfaces, such as buttons, dialogs, custom form elements, and more.
  • @dile/utils: Utility components that provide helpful functionalities for web development.
  • @dile/icons: Templates for integrating SVG icons into your components.
  • @dile/editor: A Markdown WYSIWYG (What You See Is What You Get) editor for the web.
  • @dile/pdf-viewer: Web component for PDF viewing with zoom and navigation controls.
  • @dile/crud: Customizable and generic CRUD components.
  • @dile/lib: A library featuring components and classes designed to simplify frontend application development.
  • @dile/iconlib: Icon libraries web components implementations.

To use components from this library, follow the steps below.

Installation

First, install the package that contains the component you want to use. For example, to use the UI custom elements, install @dile/ui:

npm install @dile/ui

Component Usage

To use a component from this library, import the specific element you need. For example, to use the toast feedback element:

import '@dile/ui/components/toast/toast.js';

Then, you can use the component in your application like this:

<dile-toast></dile-toast>

Complete Documentation

You can find a complete list of custom elements—along with their properties, methods, events, and usage examples—on the Dile Components website:

https://dile-components.com

Contributing

If you'd like to contribute by publishing a component to this library, you can find a complete guide to understanding the component organization.

Files in the repo

Repository payload25 top-level entries
  • .github
  • .vscode
  • demos
  • docs
  • icons-catalog
  • icons-generators
  • llm
  • packages
  • public
  • skills
  • .env.example
  • .gitignore
  • AGENTS.md
  • check_tooltip.mjs
  • dile.config.js
  • eleventy.config.cjs
  • lerna-debug.log
  • lerna.json
  • LICENSE
  • netlify.toml
  • package-lock.json
  • package.json
  • README.md
  • vite.config.js
  • vitest.config.js

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More frameworks & sdks

HKUDS/nanobotFrameworks & SDKs

Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps

48k
microsoft/
SkillOpt
microsoft/SkillOptFrameworks & SDKs

SkillOpt is a text-space optimizer that trains reusable natural-language skills for frozen LLM agents through trajectory-driven edits, validation-gated updates, and deployable best_skill.md artifacts.

17k
omnigent-ai/omnigentFrameworks & SDKs

Omnigent is an open-source AI agent framework and meta-harness: orchestrate Claude Code, Codex, Cursor, Pi, and custom agents — swap harnesses without rewriting, enforce policies and sandboxing, and collaborate in real time from any device.

9.8k
kyegomez/
OpenMythos
kyegomez/OpenMythosFrameworks & SDKs

A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.

15k
D4Vinci/ScraplingFrameworks & SDKs

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

80k