Tailwind CSS Component Library ⸺ daisyUI

8 min read Original article ↗

Faster, cleaner, easier
Tailwind CSS development

daisyUI is the Tailwind CSS plugin you will love!
It provides useful component class names
to help you write less code and build faster.

don't re-invent
the wheel
every time yawing face emoji

In a Tailwind CSS project, you need to write utility class names for every element. Thousands of class names just to style the most basic elements.

instead of writing
100 class names

For every element, every page, every project,
again and again

use semantic
class names
sunglasses emoji

It's descriptive, faster, cleaner and easier to maintain.

Take Tailwind CSS
to the next level

daisyUI adds class names to Tailwind CSS
for all common UI components.
Class names like btn , card , toggle and many more.

This allows us to focus on important things
instead of styling basic elements for every project.

Highly customizable
Powered by Tailwind CSS utility classes

daisyUI is built on top of Tailwind CSS so you can customize everything using utility classes.

How to customize

<a class="btn btn-primary">Button</a>

<a class="btn btn-primary rounded-full">Button</a>

Pure CSS.
Framework agnostic.
Works everywhere.

daisyUI is a plugin for Tailwind CSS. It works on all JS frameworks and doesn't need a JS bundle file.

Install daisyUI as a dev dependency and use the class names just like any other Tailwind CSS class name.

How to use?

Apply your own design decisions

Your website should be unique. Create a custom theme for yourself using daisyUI theme generator. The colors you pick will be applied to all daisyUI components.

65 Components
500+ utility classes
endless possibilities

Mix and match daisyUI class names to create unique web pages.

daisyUI is the most popular
component library for Tailwind CSS

daisyUI is a great project! Grabbed the file tree component, it works great and *doesn't even use JS* - it's just using summary and details elements, very neat!

Lachlan Miller

Vue.js team

While I love the flexibility of Tailwind CSS, I always find myself configuring re-usable styles as I hammer out a visual concept. daisyUI made doing that a lot easier today.

Chris Tankersley

PHP Developer, Writer, Speaker, and Teacher

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

Ovi Stoica

Software Developer

daisyUI is *the goat*

Dorian Develops

Self-Taught Programmer

daisyUI is probably the *best Tailwind Plugin I've ever used*, I've been using it since 2023

It's great! Been using it in all my projects!

Sara Vieira

Developer at axo.dev

Can't state how much I love daisyUI ♥️

rootkid

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 just looks amazing.

I'm glad I found daisyUI. daisyUI is built with Tailwind CSS which makes it perfect fit for me.

Rem Kim

Founder of resolveai.co

*daisyUI is underrated.* The best mix of Bootstrap (semantic) + Tailwind (utility). Just pick your colors and go. Supports most common components. Now with Tailwind v4. Theme builder. Quick adjustment with Tailwind. *CSS only and no JS. Zero dependencies.* DHH's "No build" friendly.

Kenn Ejima

Co-Founder & CTO

daisyUI is amazing and *I use it for all my projects*

daisyUI is such a *time saver*

Ollie The Dev

Amplify UI, texttodesign.ai

Using daisyUI feels like using the old Bootstrap but with the additional power of Tailwind's customization.

Mazipan

Software developer

If you want to create a quick MVP for your next project, I recommend daisyUI. It offers a simple and elegant design.✨

Jairon Landa

Software developer

daisyUI really makes it super easy to get a clean looking MVP up and out the door.

I recommend you to use daisyUI on top of Tailwind they work together and gives more possibilities and ease.

Christophe Anfry

Ex Google Workspace technical support

I found daisyUI to be an amazing pair with htmx

Ryan Dsouza

DevOps enthusiast

*I'm enjoying daisyUI*

Alexander Thomsen

Founder of moonbit.ai

Adding daisyUI to the front and adding new features to the products really affect all of our metrics.

daisyUI makes working with UI components *so easy*

I *absolutely love daisyUI* and use it in all my projects.

I use daisyUI for every site now!

daisyUI is what I use for everything now.

Pramod

Software developer

Been using daisyUI for a while and I must say...such a fun addon for Tailwind CSS, well done 🔥

daisyUI v5 is a *game changer*... It's never been this easy to customize components and theme in typical server rendered projects. 😍

Found the power of tailwindcss and daisyUI these last few days. These makes front-end development so much *faster and enjoyable*.

Lourenço Matalonga

Developer, Indie Hacker

Rails 8 + daisyUI = MVP Magic

Kaleb Lape

Rails developer

daisyUI is the missing part from Tailwind CSS which is the perfect choice for devs who need easy UI design

Mahdi M

Software developer

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

I found Tailwind CSS complicated, but daisyUI looks like something I can give a try.

daisyUI is the only way to use tailwind

I was already a fan of daisyUI because of their *incredible components and theme system* But did you know they also have entire templates 😍

Erwin

Founder of Tailscan

daisyUI is good, *makes code much cleaner* for often used sets of classes without massive amount's of extra css bloat.

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...

daisyUI is a *joy to use* 🙏

Oli Nelson

Indie Software Dev

I used daisyUI, *super happy with it!*

Damn, daisyUI is NICE!

Dorian Develops

Indie hacker

daisyUI is awesome!

Daniel Kelly

Teacher/Content Creator at vueschool.io

DaisyUI is really goated! I am a happy user for the past 5 years.

I like to use Tailwind+daisyUI to have a Bootstrap like experience.

Tiago Bastos

Software developer

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

I love daisyUI, It's by far *my favorite CSS tool* and what finally got me into Tailwind. I'm shipping great looking UIs thanks to daisyUI.

Why did it take me so long to pair Tailwind with daisyUI… *Now I feel like a 10X developer*.

Joel Pickin

Software developer

If you try daisyUI, there is no turning back... 😏

daisyUI has been my "go-to" for side projects and vibe coding for this past year

I cannot thank you enough for daisyUI. It has completely taken over my UIs. It is a breeze to get consistent, great looking user interfaces and quickly!

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

*Love daisyUI*, excited to use it again on my next job

Steve Williams

Applications 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

I Love daisyUI

Guillaume Meyer

Entrepreneur

I'm a big fan of daisyUI

Dan Schoonmaker

Software engineer

*daisyUI saved me months of component design*.

Erick Rodriguez

Software Engineer

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

Bailey Burnsed

Full Stack Dev

I used daisyUI this week with Remix and am delighted by it so far.

daisyUI is awesome!

borislav grigorov

Indiehacker

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

Honestly, I spent like 20% of my time writing code and 80% of time playing with Tailwind CSS and daisyUI. Really love the daisyUI themes 😍

Jiří Kratochvíl

vuejs.berlin co-organizer

Been a big fan on daisyUI for 2 years, kudos to your great work! 👏👏

Kenn Ejima

Co-Founder & CTO

Just revamped my personal website using daisyUI and I'm thrilled with the *simplicity and cleanliness* it brings!

Christian

Ruby on Rails Developer

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

With daisyUI I haven't written a single line of css, yet my div classes are pretty clean

Using a component library such as *daisyUI is such a productivity hack*. No going back from that.

DaisyUI is pretty amazing

How much winning can one component library take?!?

htmx.org

high power tools for HTML

I was using bootstrap first than switched to tailwind but there's so many classes too much code, than i found daisyUI. if anyone coming from bootstrapcss background you will love daisyUI for sure. 🙌

Jagdish kashyap

Software developer

We use daisyUI + Tailwind with our projects. It has been *extremely helpful* building websites fast and give us a red design line through several different projects.

TiiaAurora

Tech journalist

I love daisyUI and we used it for a hackathon project last week

daisyUI is so good! I love how it sticks with the basic HTML components. Truly great.

Nico Devs

Software Engineer

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!

Install daisyUI

1. Install daisyUI as a Node package:

pnpm add -D daisyui@latest

yarn add -D daisyui@latest

bun add -D daisyui@latest

deno i -D npm:daisyui@latest

2. Add daisyUI to app.css:

@import "tailwindcss";
@plugin "daisyui";

Install guide