Automated summary
This skill gives the installation steps for daisyUI 5 with Tailwind CSS 4, either via npm or CDN, plus links to per-framework guides.
Strengths
- States the key constraint: Tailwind CSS 4 and no more tailwind.config.js
- Provides the exact minimal CSS wiring (@import "tailwindcss"; and @plugin "daisyui";)
- Covers the no-build CDN path, including themes.css for all built-in themes
- Includes an extensive list of links to framework and build-tool setup guides
Limitations
- Framework-specific steps are external links, not content included in the skill
- Notes that CDN files lack the is-drawer-open: and is-drawer-close: variants but offers no workaround
- No guidance on migrating from daisyUI 4 or on customizing themes
Use it when you need to add or wire up daisyUI 5 in a Tailwind CSS 4 project, whether through npm or a CDN.
Skip it if the project still runs Tailwind CSS 3 or an older daisyUI, since the skill targets v5 exclusively.
Security analysis
CautionNo obfuscated payloads, credential handling, or destructive commands; the skill is a straightforward installation guide. However it does direct the agent to run an unpinned npm install (which executes install scripts) and to inject remote CDN assets into HTML without subresource integrity. These are normal, legitimate front-end setup actions, so the risk is limited rather than malicious.
- •Instructs running `npm i -D daisyui@latest` (installs and executes package lifecycle scripts from a third-party registry, unpinned version)
- •Points to loading remote CDN scripts/styles from cdn.jsdelivr.net without integrity (SRI) attributes
Examples
Install daisyUI 5 in my Vite + Tailwind CSS 4 project and update my CSS entry file correctly.Set up a single HTML page with daisyUI 5 and the Tailwind browser build from CDN, including the dark theme.Show me the daisyUI 5 installation guide for Next.js and apply the steps to my project.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.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/daisyui-5-installation-mte1lh3n' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/daisyui-5-installation-mte1lh3n/download' --output '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md.part' && mv '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md.part' '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md' && test -s '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/daisyui-install' && cp -R '.skill-downloads/daisyui-5-installation-mte1lh3n' '.claude/skills/daisyui-install'Cursor
test -f '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md' && test -s '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/daisyui-install' && cp -R '.skill-downloads/daisyui-5-installation-mte1lh3n' '.cursor/skills/daisyui-install'Codex
test -f '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md' && test -s '.skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/daisyui-install' && cp -R '.skill-downloads/daisyui-5-installation-mte1lh3n' '.agents/skills/daisyui-install'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/daisyui-5-installation-mte1lh3n'openskills read 'daisyui-5-installation-mte1lh3n'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/daisyui-5-installation-mte1lh3n/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.