daisyUI v5.6 is now available!

UnoCSS UI library

Build UnoCSS UI with daisyUI component classes

UnoCSS UI library

UnoCSS UI can become too atomic

UnoCSS gives you a flexible atomic CSS engine. That flexibility is useful, but repeated product UI can become noisy when every button, card, alert, and menu is written as a long set of utilities.

Shortcuts help, but then you are building a component vocabulary yourself. Many teams end up with scattered aliases, one-off variants, and repeated class groups that become hard to rename.

Traditional component libraries solve repetition, but often at the cost of a fixed look, outdated CSS, or JavaScript behavior you don't need. UnoCSS users usually want more control than that.

UnoCSS + daisyUI

daisyUI can add a component layer to UnoCSS through the community @ameinhardt/unocss-preset-daisy preset.

  • : Use btn, card, badge, alert, and other daisyUI classes where atomic utilities get repetitive.

  • Utilities for custom detail: Keep UnoCSS utilities for spacing, layout, responsive states, and product-specific polish.

  • Theme tokens: daisyUI themes give repeated components a shared color system.

  • Know the preset boundary: The UnoCSS guide uses an unofficial preset, and not every daisyUI component class is guaranteed to work.

UnoCSS stays the engine. daisyUI adds a higher-level vocabulary for interface parts that repeat.

daisyUI is awesome!

Daniel Kelly
Teacher/Content Creator at vueschool.io

The new daisyUI 5.0 is awesome! The UI components are smooth and has a lot of new goodies.

Ovi Stoica
Software Developer

I think daisyUI is very cool, it's *easy to use* and you can build a clean UI with it. 👍 😁

Nihad
Frontend Software Engineer

DaisyUI just looks amazing.

Kelvin Htat
Solo founder

I've been *enjoying daisyui* since I discovered it very recently, great job!

Vincent Bergeron
Software Developer

I used daisyUI theme generator's Halloween theme and tweaked it to what I want and now, I'm so proud of what I've got!

Ade
Software Engineer

Install daisyUI for UnoCSS

The UnoCSS guide installs UnoCSS, daisyUI, and the unofficial @ameinhardt/unocss-preset-daisy package. Add presetDaisy() and presetWind4() in unocss.config.js, then import uno.css in your app.

For the exact commands and warning, see How to install daisyUI with UnoCSS.

daisyUI is the most popular
component library for Tailwind CSS

Used by engineers at

Meta Research
Alibaba
Amazon
Adobe
Pepsico
Google Cloud