daisyUI is a library of ready-made interface components built for Tailwind CSS, a utility-based system for styling web pages. It helps web developers assemble consistent buttons, forms, navigation, and other UI elements. The catalogue entries provide add-ons for working with this component library.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add saadeghi/daisyui --skill usagegit clone --depth 1 https://github.com/saadeghi/daisyuiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/saadeghi/daisyui/usage)<a href="https://agentmods.dev/skills/saadeghi/daisyui/usage"><img src="https://agentmods.dev/badge/skills/saadeghi/daisyui/usage/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/saadeghi/daisyui/usage"><img src="https://agentmods.dev/badge/skills/saadeghi/daisyui/usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00817 |
| Opus 5.5 | $0.00007 | $0.00327 |
| Sonnet 5.5 | $0.00004 | $0.00163 |
| Haiku 4.5 | $0.00002 | $0.00082 |
Grade A, and why
daisyui-usage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- daisyui-usage — 100% identical, 0 lines differ
- daisyui-usage — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
daisyUI 5 usage rules
- To style an HTML element, add daisyUI class names to it. Add the necessary component class name. Also add the applicable part and modifier class names.
- If the current daisyUI classes cannot make a necessary change, use Tailwind CSS utility classes. For example,
btn px-10sets custom horizontal padding on abtn. - If CSS specificity prevents a change to a daisyUI style, add
!to the end of the Tailwind utility. For example,btn bg-red-500!overrides the background color of abtn. Use this method only if other methods do not work. Do not use it frequently. - If daisyUI does not have an applicable component, make a component with Tailwind CSS utilities.
- When you use Tailwind CSS
flexorgridfor a layout, add responsive utility prefixes. - Use only current daisyUI class names or Tailwind CSS utility classes.
- If custom CSS is not necessary, do not write it. If possible, use daisyUI class names or Tailwind CSS utility classes.
- If you need placeholder images, use https://picsum.photos/200/300 with the necessary dimensions.
- If a custom font is not necessary, do not add one.
- If
bg-base-100 text-base-contentis not necessary, do not add it to the body. - For design decisions, use the methods in the Refactoring UI book.
- If the user does not request a variant or color, use the default variant. For example, use
btnfor a button. If the user does not request that variant, do not usebtn btn-primary.
Each daisyUI 5 class name is in one of these categories. These category names are for reference only. Do not use them in code.
component: The necessary component class.part: A child part of a component.style: Sets a specified style on a component or part.behavior: Changes the behavior of a component or part.color: Sets a specified color on a component or part.size: Sets a specified size on a component or part.placement: Sets a specified position for a component or part.direction: Sets a specified direction for a component or part.modifier: Changes the component or part in a specified way.variant: A prefix for a utility class that applies styles in specified conditions. The syntax isvariant:utility-class.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 60 lines · 18 tokens per session scan A 9a0cb9e36d26
daisyui-usage is a skill published in the GitHub repository saadeghi/daisyui (42,653 stars, last pushed 4d ago), licensed MIT. It adds 18 tokens to every session and 817 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
designlang-tokens
Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.
s2-docs
Look up Spectrum 2 (S2) component documentation, design guidelines, and usage patterns when building with React Spectrum or Spectrum Web Components. Use when the user mentions Spectrum, S2, React Spectrum, RSP, Spectrum Web Components, or SWC, or names a Spectrum component (Button, Picker, ComboBox, TextField…
handoff-spec
Write the implementation handoff — measurements, behaviours, assets, states, and edge cases. Use when engineering picks up the work. For verifying the result afterwards use design-qa-checklist; for reusable library components use component-spec (design-systems).
animation-principles
Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.
readable-measure
Set line length and measure for comfortable reading across type sizes and breakpoints. Use when tuning body text. Covers measure only — for the full size and weight scale, use typography-scale.
von-restorff-effect
Apply the Von Restorff Effect — the element that differs from its neighbours is the one remembered. Use when a single action must dominate. For overall ordering rather than single-element emphasis, use visual-hierarchy.