Awesome Open Source
Awesome Open Source

Tailwind CSS Components
Adds component classes like btn, card and more to Tailwind CSS

[ See all components ]

DaisyUI



🌼 Features

  • Tailwind CSS plugin
    DaisyUI is a Tailwind CSS plugin. Install it, add it to your tailwind.config.js file.
  • Component classes
    Adds component classes to Tailwind. Classes like btn, card,… So you will end up with a cleaner HTML.
  • Semantic color names
    Adds color names like primary, 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
    Enable rtl config for right to left layouts.
  • Pure CSS
    No script file, no dependencies. 2KB gzip!

📀 Install now!

npm i daisyui --save

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/[email protected]/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.css" rel="stylesheet" type="text/css" />

🚀 Use

Use component classes like btn, card, etc… to build your UI.

<a class="btn">Hello!</a>
<div class="shadow card">
  <div class="card-body">
    <h2 class="card-title">Card Title</h2> 
    <p>Card text</p>
  </div>
</div> 

👉 See all components
🎲 Try it online


📘 Documents + Examples

Read the documents for more info
[ daisyui.com ↗︎ ]

List of components
  • [x] Alert
  • [x] Artboard
  • [ ] App bar
  • [x] Avatar
    • [x] Avatar group
  • [x] Badge
  • [ ] Banner
  • [x] Breadcrumb
  • [x] Button
    • [x] Button group
  • [ ] Calendar
  • [x] Carousel
  • [x] Card
  • [ ] Chat bubble
  • [x] Collapse (Accordion)
  • [ ] Comment
  • [x] Countdown
  • [ ] Cover
  • [x] Divider
  • [x] Drawer
  • [ ] Empty placeholder
  • [ ] Footer
  • [ ] Form
    • [x] Select
    • [x] Text input
    • [x] Text area
    • [x] Checkbox
    • [x] Radio
    • [ ] Range slider
    • [ ] Rating
    • [x] Toggle
    • [ ] Upload
  • [x] Hero
  • [x] Link
  • [ ] Loading
  • [x] Menu
  • [ ] Mockup
    • [ ] Browser
    • [x] Code
    • [x] Phone
    • [x] Window
  • [x] Navbar
  • [x] Mask
  • [x] Modal
  • [x] Pagination
  • [x] Progress
  • [x] Stat
  • [x] Steps
  • [ ] Tag
  • [x] Table
  • [x] Tabs
  • [ ] Timeline
  • [ ] Toast
  • [x] Tooltip
  • [ ] Treeview

༼ つ ◕_◕ ༽つ Please share


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
css (7,433
vue (4,373
ui-components (330
tailwindcss (253
design-patterns (192
postcss (173
design-system (127
css-framework (126
ui-design (106
design-systems (97
tailwind (95
ui-kit (95
tailwind-css (63
design-pattern (47
ui-library (25
ui-framework (16