Usage
Requirements
Components require tailwindcss to be installed in the project. Here links for NuxtJS, Vite or Tailwind cli.
-
Install elements
-
Copy a component into your project.
This copies a component template into your project.
Directorysrc/components/
- Button.tsx
- README.md
- package.json
- …
-
Change styling or behavior of the component in the copy inside your project.
-
Import and use the components anywhere in your project.
-
Or optionally use the custom-elements directly for most compatibility with, or without, a framework.
Browser Support
Can I use Support for WebComponents exists in major browsers since around 2018.