daisyUI v5.6 is now available!

Nuxt UI library

Build Nuxt UI with Tailwind CSS and daisyUI

Nuxt UI library

Nuxt UI must work across rendering modes

Nuxt apps can include server-rendered pages, static routes, client-only areas, API routes, and app layouts. A UI library should not assume every component runs the same way.

Some UI kits make simple markup depend on client-side plugins. Others hard-code a design language that appears in every Nuxt project using the same kit. Both choices create friction when a product needs its own voice.

Customization is also harder when the library owns behavior and style at the same time. You change a dropdown's look and accidentally touch how it opens.

Nuxt + Tailwind CSS + daisyUI

Tailwind CSS works through Vite in Nuxt. daisyUI adds component classes that work in pages, layouts, and Vue components.

  • Rendering-friendly CSS: daisyUI classes work with server rendering, static generation, and client-rendered components.

  • No global behavior plugin: Nuxt keeps control of data, routing, state, and hydration.

  • : navbar, drawer, menu, card, and footer help app shells stay readable.

  • Theme from Nuxt state or cookies: Apply a daisyUI theme in the root layout and let routes inherit it.

Nuxt handles the app structure. daisyUI helps the UI stay flexible and recognizable as your own.

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

Dev Ed
Content Creator

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

Shaun Furtado
JS dev

DaisyUI just looks amazing.

Kelvin Htat
Solo founder

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

Marc Lou
Solopreneur

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

Ovi Stoica
Software Developer

Can't state how much I love daisyUI ♥️

rootkid
Software Developer

Install Tailwind CSS and daisyUI for Nuxt

The Nuxt guide installs Tailwind CSS, @tailwindcss/vite, and daisyUI, adds the Tailwind CSS Vite plugin in nuxt.config.ts, and puts @plugin "daisyui" in app/assets/css/main.css.

For the exact commands, see How to install daisyUI with Nuxt.

daisyUI is the most popular
component library for Tailwind CSS

Used by engineers at

Meta Research
Alibaba
Amazon
Adobe
Pepsico
Google Cloud