skills/daisyui/SKILL.md
daisyUI 5 is a CSS library for Tailwind CSS 4. daisyUI 5 provides class names for common UI components, semantic color names and themes.
| Task | Guide | Note |
|---|---|---|
| Installing daisyUI | ./install/SKILL.md | Use only if daisyUI is not already installed in the project. |
| Using daisyUI class names | ./usage/SKILL.md | MANDATORY. Read this before using any daisyUI class names in the code. |
| Configuring daisyUI | ./config/SKILL.md | Use this if you need to configure daisyUI themes, prefix, logs, or other options. Not required for basic usage but important for advanced customization. |
| daisyUI colors and themes | ./colors/SKILL.md | MANDATORY. Read this to understand daisyUI color usage rules and how to use daisyUI colors in the code. |
| daisyUI components | ./components/ | MANDATORY. Read the relevant component docs when using daisyUI components in the code. Always read multiple candidate component docs before deciding which one to use. |
Before writing any daisyUI code, do this in order:
Semantic matching is required even when wording differs from component names. A component name might be different from the request but still be the best match. Always consider intent and meaning, not only literal words.
If a user explicitly requests a named component and a same-named doc exists, read that component doc first.