
daisyUI Install
SkillInstallation guide for daisyUI 5: requires Tailwind CSS 4 without tailwind.config.js, installs via npm and adds the plugin in CSS, covers the CDN setup, and links framework guides for Next.js, Vue, SvelteKit, Laravel and more. Part of the official daisyUI skill.
name: daisyui-install
description: Installation instructions for daisyUI 5
Install daisyUI 5
- You must use Tailwind CSS 4 with daisyUI 5.
- The
tailwind.config.jsfile is deprecated in Tailwind CSS v4. Do not usetailwind.config.js. If Tailwind CSS v4 is a Node.js dependency, add only@import "tailwindcss";to the CSS file. - To install daisyUI 5, run
npm i -D daisyui@latest. Then, add@plugin "daisyui";to the CSS file. - Install daisyUI as a dependency when possible. If you have a specific reason to use a CDN instead, use the Tailwind CSS and daisyUI CDN files:
<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
- If Tailwind CSS and daisyUI are Node.js dependencies, use this CSS file:
@import "tailwindcss";
@plugin "daisyui";
CDN
For a browser setup with no installation, load the precompiled daisyUI CSS and the Tailwind browser build:
<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
The main CDN file includes the light and dark themes. To load all built-in themes, use:
<link href="https://cdn.jsdelivr.net/npm/daisyui@5/themes.css" rel="stylesheet" type="text/css" />
You can also combine separate daisyUI CSS modules from the CDN. The CDN files do not include the is-drawer-open: and is-drawer-close: variants.
Standalone and framework-specific setup
- If you use the Tailwind CSS standalone executable without Node.js, use the standalone guide.
- For other installations, select the guide for the applicable framework or build tool: 11ty, Angular, Astro, Bun, Tailwind CLI, Dioxus, Django, Electron, Elysia, Ember, Fresh, HTMX, Laravel, Lit, Next.js, Nuxt, Phoenix, PostCSS, Preact, Qwik, Rails, React, React Router, Rsbuild, Solid, SolidStart, SvelteKit, UnoCSS, Vike, Vite, Vue, Waku, WordPress, Yew, or Zola.
Use the file paths and integration steps in the selected guide. Each framework can use a different CSS entry.
関連リソース

daisyUI
SkillOfficial daisyUI skill: the agent uses daisyUI 5 component classes, semantic colors and themes whenever it writes HTML or JSX, picking components by intended function, reading their guides and following their exact structure. Includes install, usage, config and color guides. Built on Tailwind CSS 4.
saadeghi/daisyui42.6k
daisyUI Config
SkillConfiguration reference for daisyUI 5: how to set enabled themes, the default and prefers-dark theme, root selector, included or excluded modules, class prefix and console logs in the CSS plugin block, with full examples. Part of the official daisyUI skill.
saadeghi/daisyui42.6k
Web Artifacts Builder
SkillBuilds multi-component web pages that need state or routing with React, Tailwind CSS and shadcn/ui, using bundled init and build scripts, then packs them into a single HTML file for a claude.ai Artifact. Official Anthropic skill.
anthropics/skills182k
shadcn/ui
SkillOfficial shadcn/ui skill: uses the shadcn CLI to read project config and component docs, then adds, searches, composes and fixes components following styling, form and accessibility rules. Can also start new projects from presets.
shadcn-ui/ui126k
daisyUI Colors
SkillColor rules for daisyUI 5: explains semantic names such as primary, base-100 and error with their -content foregrounds, says to prefer them over fixed Tailwind colors and never add dark: to them, and shows how to enable, create and override themes. Part of the official daisyUI skill.
saadeghi/daisyui42.6k
daisyUI Usage
SkillUsage rules for daisyUI 5: combine component, part and modifier classes, add Tailwind utilities when needed and the ! override only as a last resort, use the default variant unless asked, make layouts responsive, and follow Refactoring UI for design choices. Part of the official daisyUI skill.
saadeghi/daisyui42.6k