Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
The most popular, free and open-source component library for Tailwind CSS.
daisyUI is a free, open-source component library for Tailwind CSS that ships ready-made UI component classes — buttons, cards, modals, and more — so developers write fewer utility classes and less custom CSS.
daisyUI is a CSS component library built on top of Tailwind CSS. It takes Tailwind CSS as its styling foundation and outputs composed component classes such as btn, card, modal, checkbox, and navbar. The project is maintained by Pouya Saadeghi on GitHub and is described in its repository as the most popular, free and open-source Tailwind CSS component library. It is distributed via npm, jsDelivr CDN, and the official website at daisyui.com.
btn btn-primary for styled buttons, card for cards, and modal for modals, instead of chaining many Tailwind utilities.npm install daisyui or load via jsDelivr CDN, then add the plugin to your Tailwind config.Install daisyUI via npm (npm install daisyui) or include it via CDN. Register it in your Tailwind CSS configuration by adding it to the plugins array. After that, daisyUI injects its component classes into your compiled CSS, so you can use them directly in HTML or templating files.
daisyUI is completely free and open-source. There are no paid tiers or licenses; the project is supported by voluntary contributions through Open Collective.
Other Tailwind CSS component libraries exist. Tailwind UI is the official paid set of components from the Tailwind team, while Flowbite offers open-source components with React and Vue support. Both provide ready-made UI blocks, but daisyUI stands out as a free, community-driven alternative.
Yes, daisyUI is free and open-source under the MIT license. You can use it in commercial projects without paying, and it is supported by community donations via Open Collective.
You can install it with npm install daisyui and add the plugin to your Tailwind config file. Alternatively, you can use the jsDelivr CDN to include it directly in your HTML.
Yes. Because daisyUI is just CSS classes added to Tailwind, it works with any framework that uses Tailwind CSS, including React, Svelte, Vue, and plain HTML.
daisyUI includes classes for buttons, cards, modals, dropdowns, tabs, alerts, badges, forms, navigation, and more. See the full list on the components page.
Tailwind UI is a paid collection of hand-crafted components made by the Tailwind team. daisyUI is a free, open-source alternative that provides component classes directly within your CSS.