daisyUI v5.6 is now available!

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.

If you use Tailwind and want prepackaged components then I wholeheartedly recommend daisyUI! An awesome set of defaults that's super configurable 🔥

Scott Spence
SvelteSociety London events organiser

daisyUI is *so usefull*. My clients love the look, it is so easy

Bailey Burnsed
Full Stack Dev

I would have never touched Tailwind CSS if it wasn't for daisyUI 🤗

lang
Software developer

Writing technical blog posts and I just use daisyUI for styling and then I have a ton of free time 🌟

Lac Tran An
Software craftman

daisyUI 5 + Tailwind CSS 4 is just an amazing combo for fast and high-end results

Nacho Herrera
Developer

daisyUI is such a *time saver*

Ollie The Dev
Amplify UI, texttodesign.ai

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