UnoCSS component library

Use daisyUI components with UnoCSS projects

Best UnoCSS component library

UnoCSS

UnoCSS is an on-demand atomic CSS engine.

It generates CSS from the utilities you use and relies on presets to define the utility rules. That makes UnoCSS flexible: a project can mimic Tailwind-style utilities, use attributify mode, add icons, define shortcuts, or create a custom design language.

Because generation happens on demand, UnoCSS is a good fit for teams that want utility-first styling without accepting one fixed utility set.

UnoCSS + daisyUI

daisyUI can be used with UnoCSS through the daisyUI UnoCSS preset. This is different from the Tailwind CSS plugin setup; UnoCSS reads daisyUI through its own preset system.

The combination gives you both layers:

  • Semantic component classes: Use daisyUI classes like btn, card, badge, and alert for common UI.

  • Atomic styling where needed: Use UnoCSS utilities for layout, one-off spacing, custom states, and project-specific details.

  • Less repeated markup: Component classes reduce the utility chains on elements that repeat across the app.

  • Theme tokens: daisyUI themes give your UnoCSS project a consistent color system for components.

UnoCSS stays flexible. daisyUI gives repeated interface parts a stable, readable vocabulary.

*daisyUI saved me months of component design*.

Erick Rodriguez
Software Engineer

We are using Go for the backend, daisyUI + Tailwind for styling, and HTMX for interactivity.

Jack Spirou
Founder

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

Ovi Stoica
Software Developer

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

Vincent Bergeron
Software Developer

If you're a fan of Tailwind but hate writing 20+ class names to style a simple button or card, try daisyUI, it's really cool!

AbdulAzeez
Software Developer

If you want to *build beautiful apps in no time* daisyUI is the way to go ✨ I've been using it for the past 6 months and can't imagine living without it...

Marc Lou
Solopreneur

Install daisyUI for UnoCSS

Getting started with daisyUI in UnoCSS uses the daisyUI preset for UnoCSS.

Set up UnoCSS in your project, install the daisyUI UnoCSS package, and add the preset to your UnoCSS configuration.

After setup, daisyUI component classes work beside your UnoCSS utilities.

For UnoCSS-specific installation instructions and configuration options, 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