Daisy UI - Free open-source Tailwind CSS component library

A comprehensive, free and open-source Tailwind CSS component library offering semantic class names like btn, card, and toggle for cleaner HTML. Fully themeable with multiple built-in themes and zero JavaScript dependencies.

Daisy UI screenshot
lock-open Free and open-source

Fully open-source under the MIT license with an active community of contributors.

layers-3 Semantic component classes

Use clean class names like btn, card, and toggle instead of long utility chains.

palette-2 Built-in themes

Ship with multiple ready-made themes and easily create custom ones with CSS variables.

bolt Pure CSS, no JavaScript

Zero JavaScript dependencies means it works with any framework or environment.

wand-sparkle Easy to customize

Override any component style using standard Tailwind utility classes and CSS variables.

earth-check RTL layout support

Enable right-to-left layouts with a single configuration option for global reach.

code-fork Framework agnostic

Works seamlessly with React, Vue, Svelte, Astro, and any HTML-based project.

circle-info-sparkle Overview

Ship faster with ready-made, themeable Tailwind CSS components

Daisy UI is a widely adopted, open-source component library that extends Tailwind CSS with semantic class names. Instead of chaining dozens of utility classes for every element, developers can use intuitive names like btn, card, toggle, and badge to build interfaces faster while keeping markup clean and readable. It works as a pure CSS plugin with zero JavaScript dependencies, meaning it slots into any framework or static site without adding weight. Whether you're building with React, Vue, Svelte, Astro, or plain HTML, the library integrates through a single plugin addition to your Tailwind configuration.

What's included

  • Semantic component classes covering buttons, cards, modals, drawers, tabs, and more
  • Multiple built-in color themes ready to use out of the box
  • CSS variable-based theming system for creating custom themes
  • Semantic color naming with primary, secondary, accent, and neutral tokens
  • Right-to-left layout support via a configuration toggle
  • Full compatibility with Tailwind utility classes for per-component overrides
  • CDN distribution for quick prototyping without a build step

Ideal for

  • Rapid prototyping where clean, readable HTML matters
  • SaaS dashboards and admin panels that need consistent UI patterns
  • Marketing sites and landing pages built across different frameworks
  • Side projects and MVPs where speed outweighs custom design work
  • Teams standardizing a design system across multiple codebases

Theming & dark mode

The library ships with a collection of pre-built themes that can be swapped with a single data attribute. You can scope different themes to specific sections of a page, making it straightforward to offer light and dark modes or branded sub-sections. Custom themes are defined through CSS variables, so adjusting your entire color palette requires editing just a handful of tokens rather than hunting through component files.

Good to know

  • Licensed under MIT, so it's free for personal and commercial use
  • Pure CSS with no runtime JavaScript — styles load even if scripts are disabled
  • Requires Tailwind CSS as a peer dependency; currently aligned with Tailwind v4
Repository stats
lock-open 0 open issues
star 40.8k stars
eye 162 watching
code-fork 1.6k forks
code-commit 2.9k commits
history 10 days ago
Stack
Tailwind CSS
Tailwind CSS v4
HTML
HTML
Highlights
circle-check-3 Tailwind CSS plugin
circle-check-3 Semantic color names
circle-check-3 Multiple themes
circle-check-3 CDN available
circle-check-3 RTL support
circle-check-3 No dependencies
Additional info
License
MIT
x logo-facebook logo-linkedin

Flowbite

star 9.2k

Open-source Tailwind CSS UI component library

Mamba UI

star 1.2k

Free open-source Tailwind CSS UI components

Tail-Kit

star 3k

Free and open source components and templates