mcpField
D
daisyui

daisyui

github.com/saadeghiDesign & UI42.7k12.3k installsUpdated 2w ago
Repository

About daisyui

daisyui is a skill for using the daisyUI 5 CSS library with Tailwind CSS 4. It guides coding agents through component selection, class names, themes, and colors when building HTML, JSX, or Tailwind UI.

Key features

  1. 01CSS library for Tailwind CSS 4
  2. 02Class names for common UI components
  3. 03Semantic colors and themes
  4. 04Component-specific usage guides

Use cases

  1. 01Building interfaces in HTML or JSX
  2. 02Creating UI with Tailwind CSS
  3. 03Configuring interface themes and colors

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/saadeghi/daisyui --skill daisyui

After installing, type/daisyuiin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

components/
accordion.md
alert.md
aura.md
avatar.md
badge.md
breadcrumbs.md
button.md
calendar.md
card.md
carousel.md
chat.md
checkbox.md
collapse.md
countdown.md
diff.md
divider.md
dock.md
drawer.md
dropdown.md
fab.md
fieldset.md
file-input.md
filter.md
footer.md
hero.md
hover-3d.md
hover-gallery.md
indicator.md
input.md
join.md

Details

From the project README

daisyUI 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

TaskGuideNote
Install daisyUI./install/SKILL.mdIf the project does not have daisyUI, use this guide.
Use daisyUI class names./usage/SKILL.mdYou must read this guide before you use daisyUI class names in code.
Configure daisyUI./config/SKILL.mdRead this guide to configure themes, prefixes, logs, or other options. You do not need it for basic use.
daisyUI colors and themes./colors/SKILL.mdYou 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

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.

Comments

Markdown supported