A design skill for Claude Code, Cursor, and Codex that guides AI coding agents toward UI that doesn't look AI-generated.
saadeghi/daisyui
A free, open-source component library that adds ready-made UI components as class names on top of Tailwind CSS.
- Stars
- 42,625
- Forks
- 1,711
- Open issues
- 32
- Last commit
- 2 days ago
What is it?
daisyUI is a component library for Tailwind CSS. Instead of building buttons, cards, modals and form controls from utility classes every time, developers apply semantic component class names such as btn, card or modal, and the styles come from daisyUI's Tailwind plugin.
The library ships with a set of themes that can be switched through a data attribute, so the same markup can adopt different color schemes. Components are plain HTML and CSS classes, which means they work in any framework or with no framework at all, and the project's homepage notes integration with Svelte and other tools.
It is distributed as an npm package and can also be loaded from a CDN, and it is MIT licensed. The current major version is daisyUI 5.
Key features
- 01Provides semantic component class names such as btn, card and modal built on Tailwind CSS.
- 02Includes multiple built-in themes that can be switched with a data attribute.
- 03Works with plain HTML and any frontend framework.
- 04Installable via npm or loaded from a CDN.
Use cases
- Building a marketing site or dashboard UI quickly on top of Tailwind CSS.
- Adding consistent buttons, forms and modals without writing custom component styles.
- Prototyping interfaces with a theme that can be swapped at runtime.
Quick start
- 1
Open the install guide on the official site
Things to know
- It only works on top of Tailwind CSS, so Tailwind must be set up first.
Topics
FAQ
- What is daisyui?
- A free, open-source component library that adds ready-made UI components as class names on top of Tailwind CSS. daisyUI is a component library for Tailwind CSS. Instead of building buttons, cards, modals and form controls from utility classes every time, developers apply semantic component class names such as btn, card or modal, and the styles come from daisyUI's Tailwind plugin.
- Is daisyui free to use? What license does it have?
- daisyui is open source under the MIT license. Check the license terms before using it in commercial products.
- Is daisyui still maintained?
- Actively maintained. The last commit to daisyui was on Oct 17, 2026.
- What can I use daisyui for?
- Building a marketing site or dashboard UI quickly on top of Tailwind CSS. Adding consistent buttons, forms and modals without writing custom component styles. Prototyping interfaces with a theme that can be swapped at runtime.
- How do I install daisyui?
- Open the install guide on the official site
- Where can I get daisyui?
- The source code and installation instructions are on GitHub: https://github.com/saadeghi/daisyui
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An open source React design system with 150+ accessible components, themes, and a CLI, built on React 19 and StyleX.
Agent Skills that make coding agents design distinctive frontends, using art direction, real photos and a browser self-check instead of generic AI landing pages.
A collection of agent skills that teach AI coding assistants animation, UI design and frontend craft rules drawn from the author's experience at Vercel and Linear.
A collection of agent skills for building better UI, covering accessibility, layout, typography, color, writing and UI polish.
CLI that points a headless browser at any website and extracts its design system as DTCG tokens, Tailwind config, Figma variables and more.