daisyui

Generates HTML and JSX UI code using daisyUI 5 component classes with Tailwind CSS 4.

Updated May 26, 2026
One-click install
npx skills add https://github.com/rmethodm/resumegen --skill daisyui-rmethodm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: daisyui
Source: https://github.com/rmethodm/resumegen/tree/main/.agents/skills/daisyui
Command: npx skills add https://github.com/rmethodm/resumegen --skill daisyui-rmethodm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires daisyui, tailwindcss, and includes references (resource) components.

What problem does it solve? Writing consistent, theme-aware UI markup with Tailwind CSS requires memorizing dozens of utility classes and component patterns. This Skill provides the complete daisyUI 5 component reference, usage rules, and color system so generated HTML or JSX follows correct class names, syntax, and theming conventions. ## Core Features & Use Cases - Component Reference: Covers 60+ daisyUI components (button, card, modal, drawer, navbar, table, form inputs, and more) with exact class names, syntax templates, and structural rules. - Theming and Colors: Enforces semantic color usage (primary, base-100, content colors) and documents custom theme creation via CSS variables and the daisyUI plugin config. - Installation and Configuration: Guides setup with Tailwind CSS 4 via npm or CDN, plus plugin options like themes, prefix, include/exclude, and logs. - Use Case: Ask for a responsive dashboard layout with a sidebar, navbar, and stat cards, and receive markup that uses correct daisyUI drawer, navbar, and stats classes with theme-aware colors. ## Quick Start Generate a responsive landing page with a navbar, hero section, and pricing cards using daisyUI components.

Frequently Asked Questions about daisyui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install daisyUI 5 with Tailwind CSS 4?▼

Install daisyUI 5 with npm i -D daisyui@latest, then add @plugin "daisyui"; to your CSS file after @import "tailwindcss";. Tailwind CSS v4 does not use tailwind.config.js, and a CDN option is also available for no-build setups.

How do I use daisyUI component class names in HTML?▼

Add the component class plus optional modifier classes to an element, such as class="btn btn-primary" for a primary button. Components can be customized with Tailwind utility classes, and the default variant should be used unless a specific style is requested.

Does daisyUI 5 work with React, Vue, and other frameworks?▼

Yes, daisyUI 5 is a CSS library that works with any framework using Tailwind CSS 4, including React, Vue, SvelteKit, Next.js, Laravel, and Rails. Framework-specific install guides define the correct CSS entry file for each setup.

How do daisyUI themes and semantic colors work?▼

daisyUI adds semantic color names like primary, base-100, and base-content that change automatically with the active theme, so dark: variants are unnecessary. Themes are enabled in the plugin config and applied by setting data-theme on the html element or nested elements.

Why should Tailwind color names be avoided with daisyUI?▼

Tailwind colors like text-gray-800 stay fixed across themes, so text can become unreadable when a dark theme changes base-100 to a dark color. daisyUI semantic colors adapt per theme, keeping contrast correct automatically.

Can I create a custom daisyUI theme with my own colors?▼

Yes, define a custom theme with the @plugin "daisyui/theme" block and set all required CSS variables such as --color-primary and --color-base-100 in OKLCH or hex. You can also override individual values of a built-in theme by reusing its name.