Tailwind CSS Components
Adds component classes like btn
, card
and more to Tailwind CSS
- 👉 [ See all components ]
- 📘 Documents: daisyui.com
- 🎲 Try it online: Tailwind Play | Codepen
- 📦 Source: GitHub | NPM | Unpkg | JSdeliver | cdnjs
show / hide
-
Tailwind CSS plugin
daisyUI is a Tailwind CSS plugin. Install it and add it to yourtailwind.config.js
file. -
Component classes
Adds component classes to Tailwind. Classes likebtn
,card
,… So you will end up with a cleaner HTML. -
Semantic color names
Adds color names likeprimary
,secondary
,accent
,…. -
Customizable
You can customize the design of components with Tailwind utility classes and CSS variables. -
Themeable
Add multiple themes and customize colors. You can even set a theme for a specific section of your page. -
RTL supported
Enablertl
config for right to left layouts. -
Pure CSS
No script file. Pure CSS. Works on all frameworks!
npm i daisyui
Then add daisyUI to your tailwind.config.js
[ Read more ]
module.exports = {
plugins: [require("daisyui")],
};
Or use a CDN
Loading CSS files from CDN is not recommended for production. It's better to install Tailwind and daisyUI as Nodejs dependencies so you can config/customize everything, and purge unused styles.
<link href="https://cdn.jsdelivr.net/npm/daisyui@2.13.3/dist/full.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
Use component classes to build your UI.
<a class="btn">Hello!</a>
<input type="checkbox" class="checkbox" />
<input type="checkbox" class="toggle" />
<div class="alert alert-success">Message sent successfully</div>
👉 See all components
🎲 Try it online
See the official site:
[ daisyui.com ↗︎ ]
Read the documents for more info:
[ Read contribution guide ]
show / hide
-
Actions
- [x] Button
- [x] Dropdown
- [x] Modal
- [x] Swap
-
Data display
- [x] Alert
- [x] Avatar
- [x] Badge
- [ ] Banner
- [ ] Calendar
- [x] Card
- [x] Carousel
- [ ] Chat bubble
- [x] Collapse
- [ ] Comment
- [x] Countdown
- [ ] Empty placeholder
- [x] Kbd
- [ ] Loading
- [x] Progress
- [x] Radial progress
- [x] Stat
- [x] Table
- [ ] Tag
- [ ] Timeline
- [ ] Toast
- [x] Tooltip
- [ ] Treeview
-
Data input
- [x] Checkbox
- [x] Text input
- [x] Radio
- [x] Range
- [x] Rating
- [x] Select
- [x] Textarea
- [x] Toggle
- [ ] Upload
-
Layout
- [x] Artboard
- [x] Button group
- [x] Divider
- [x] Drawer
- [x] Footer
- [x] Hero
- [x] Indicator
- [x] Input group
- [x] Mask
- [x] Stack
-
Navigation
- [ ] App bar
- [x] Breadcrumbs
- [x] Link
- [x] Menu
- [x] Navbar
- [x] Pagination
- [x] Steps
- [x] Tab
-
Mockup
- [ ] Browser
- [x] Code
- [x] Phone
- [x] Window
show / hide
- Blogs
- Youtube videos
- Supabase & Sveltekit - Build Twitter in 75 minutes
- Setup the Best Frontend JavaScript Stack - Svelte, Vite, TailwindCSS and DaisyUI
- Jamstack powered Image gallery with Cloudinary, Tailwind and DaisyUI
- SvelteKit Crash Course w/ Tailwind CSS and DaisyUI, GraphQL and dynamic routes
- DaisyUI : Worth a try or skip on by?
- How to use daisyUI in SvelteKit?
- DaisyUI Untuk Yang Mau Pindah ke TailwindCSS dari Bootstrap (Indonesian)
- Next.js - Tailwind - DeisyUI Setup
- Svelte Setup with Vite, Tailwind, DaisyUI. Custom Themes!
- Build a blog with Svelte
- Building a product in less than 10 minutes: Laravel, InertiaJS, VueJS, TailwindCSS, DaisyUI
- Infinite scrolling with MERN | ReactJS, TailwindCSS v3, DaisyUI | NodeJs, Express, MongoDB
- How to install TailwindCSS v3 and DaisyUI to your React app
- Laravel: DaisyUI Agiliza Tus Desarrollos Con TailwindCSS + Select2 Tailwind Style (Spanish)
- Courses
- Building with SvelteKit and GraphCMS
- Svelte for Beginners by Mike Karan
- React Front To Back 2022 by Brad Traversy
- Build Instagram profile page UI clone w/Next.js TailwindCSS
- Instagram UI Clone Login Page w/ NextJS & TailwindCSS
- Build your Developer Portfolio and Blog from Scratch with Svelte and GraphCMS