https://github.com/Polydile/dile-components
Custom elements catalog for all kind of projects and frameworks.
https://github.com/Polydile/dile-components
catalog components custom elements lit ui ui-components web
Last synced: 26 days ago
JSON representation
Custom elements catalog for all kind of projects and frameworks.
- Host: GitHub
- URL: https://github.com/Polydile/dile-components
- Owner: Polydile
- License: mit
- Created: 2020-04-22T21:50:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-13T15:40:54.000Z (26 days ago)
- Last Synced: 2025-05-13T16:47:42.181Z (26 days ago)
- Topics: catalog, components, custom, elements, lit, ui, ui-components, web
- Language: JavaScript
- Homepage: https://dile-components.com
- Size: 14.2 MB
- Stars: 89
- Watchers: 7
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lit - Dile Components - General use Web Components for websites and applications. (Component Libraries)
- awesome-web-components - Dile Components - General use Web Components for websites and applications. (Real World / Component Libraries)
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](https://dile-components.com/)
> If you're looking for the previous version of this component catalog, you can find it in this repository:
## 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/crud`: Customizable and generic CRUD components.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`:
```bash
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:
```javascript
import '@dile/ui/components/toast/toast.js';
```Then, you can use the component in your application like this:
```html
```
## 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](https://dile-components.com/contribute/).