daisyui
saadeghi/daisyui · Agent Skill
Official daisyUI component library skill, providing docs, class names, examples and code examples to generate better daisyUI code.
Jump to install ↓Overview
| Publisher | |
|---|---|
| Repository | saadeghi/daisyui ↗ |
| Skill folder | daisyui |
| Stars | 42,681 |
| Forks | 1,715 |
| Bundled files | 73 |
| License | MIT |
| Last updated | October 17, 2026 |
| Links | Skill source ↗ · Repository ↗ |
Mozgi check
What we found in the skill files. Details come with a subscription.
Installation
A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.
Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.
Install the “daisyui” skill from mozgi.io (https://mozgi.io/skills/saadeghi-daisyui/) for me. 1. Download the archive: https://mozgi.io/skills/saadeghi-daisyui/download If it fails, take the skill folder from the source: https://github.com/saadeghi/daisyui/tree/master/skills/daisyui 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “daisyui” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/daisyui/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch master https://github.com/saadeghi/daisyui.git /tmp/daisyui mkdir -p .claude/skills cp -r /tmp/daisyui/skills/daisyui .claude/skills/daisyui
Restart Claude Code — the skill appears in the list; call it manually with /daisyui. For all projects use ~/.claude/skills.
git clone --depth 1 --branch master https://github.com/saadeghi/daisyui.git /tmp/daisyui mkdir -p .agents/skills cp -r /tmp/daisyui/skills/daisyui .agents/skills/daisyui
Codex looks for skills in .agents/skills from the current folder up to the repo root; call one with /skills or $daisyui. For all projects use ~/.agents/skills.
git clone --depth 1 --branch master https://github.com/saadeghi/daisyui.git /tmp/daisyui mkdir -p .cursor/skills cp -r /tmp/daisyui/skills/daisyui .cursor/skills/daisyui
Cursor picks the skill up on start; call it with “/” in Agent chat. Cursor also reads .claude/skills and .agents/skills. For all projects use ~/.cursor/skills.
git clone --depth 1 --branch master https://github.com/saadeghi/daisyui.git /tmp/daisyui mkdir -p .gemini/skills cp -r /tmp/daisyui/skills/daisyui .gemini/skills/daisyui
Gemini CLI offers to activate the skill when a task matches — you approve it. For all projects use ~/.gemini/skills.
Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.
SKILL.md contents
Original author text · read-onlydaisyUI 5
daisyUI 5 is a CSS library for Tailwind CSS 4. It supplies class names for common UI components, semantic colors, and themes.
When to use this skill
- Use this skill each time you write HTML or JSX code.
- Use this skill for all Tailwind CSS UI work.
- If the user uses one of these terms or requests related work, use this skill:
daisyUI, component, UI, Tailwind, layout, template, theme, color, design
- Even if the user does not request this skill, use it.
References that you must read
| Task | Guide | Note |
|------|-------|------|
Install daisyUI | ./install/SKILL.md ↗ | If the project does not have daisyUI, use this guide.
Use daisyUI class names | ./usage/SKILL.md ↗ | You must read this guide before you use daisyUI class names in code.
Configure daisyUI | ./config/SKILL.md ↗ | Read this guide to configure themes, prefixes, logs, or other options. You do not need it for basic use.
daisyUI colors and themes | ./colors/SKILL.md ↗ | You must read this guide before you use daisyUI colors in code.
daisyUI components | ./components/ ↗ | You must read the applicable component guides before you use daisyUI components. Read more than one candidate guide before you select a component.
List of components
- accordion ↗
- aura ↗
- alert ↗
- avatar ↗
- badge ↗
- breadcrumbs ↗
- button ↗
- calendar ↗
- card ↗
- carousel ↗
- chat ↗
- checkbox ↗
- collapse ↗
- countdown ↗
- diff ↗
- divider ↗
- dock (app bar) ↗
- drawer (sidebar) ↗
- dropdown ↗
- FAB ↗
- fieldset ↗
- file-input ↗
- filter ↗
- footer ↗
- hero ↗
- hover-3d ↗
- hover-gallery ↗
- indicator ↗
- input ↗
- join (group) ↗
- kbd ↗
- label ↗
- link ↗
- list ↗
- loading ↗
- mask ↗
- megamenu ↗
- menu ↗
- mockup-browser ↗
- mockup-code ↗
- mockup-phone ↗
- mockup-window ↗
- modal ↗
- navbar ↗
- otp ↗
- pagination ↗
- progress ↗
- radial-progress ↗
- radio ↗
- range ↗
- rating ↗
- select ↗
- skeleton ↗
- stack ↗
- stat ↗
- status ↗
- steps ↗
- swap ↗
- tab ↗
- table ↗
- text-rotate ↗
- textarea ↗
- theme-controller ↗
- timeline ↗
- toast ↗
- toggle (switch) ↗
- tooltip ↗
- validator ↗
Component discovery protocol
Before you write daisyUI code, do these steps in sequence:
1. Identify the intended function, behavior, and layout in the request. Do not use only the exact words.
2. Use the component list in this file to select the best candidate components.
3. If the choice is not clear, read the guides for the candidate components that can meet the request before you select one.
4. Compare the description, behavior, syntax, and rules of each candidate with the request.
5. Select the best component or component combination. Obey all its constraints.
6. Use the exact structure and constraints of the selected components.
You must match the meaning, even when the words are different from component names. A component with a different name can still be the best match. Always examine the intended function and meaning.
If the user requests a named component and a guide with that name exists, read that guide first.
Frequently asked questions
What does the daisyui skill do?
Official daisyUI component library skill, providing docs, class names, examples and code examples to generate better daisyUI code.
How do I install daisyui?
Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.
Which AI models work with daisyui?
Skills are plain Markdown instructions (the Agent Skills format), so daisyui works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.
Is daisyui free?
The skill is published openly by saadeghi under the MIT license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.
Is it safe to install skills?
A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.
How is a skill different from an MCP server or a plugin?
An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.