daisyUI v5.6 is now available!

Nuxt Tailwind CSS

Use Tailwind CSS and daisyUI in Nuxt with cleaner pages and layouts

Nuxt Tailwind CSS

Tailwind CSS works across Nuxt routes

Nuxt apps mix pages, layouts, server routes, components, and rendering modes. Tailwind CSS gives all those pieces one styling language.

That flexibility is useful. A marketing route, dashboard, settings screen, and content page can share the same utility system without adopting a separate component framework.

The issue is accumulation. Nuxt layouts and pages can become class-heavy, especially around navigation, cards, menus, forms, and responsive wrappers.

Nuxt files need room for app structure

Nuxt code often includes route-level data, state, middleware, layouts, and async rendering concerns. Long utility chains add visual noise around those details.

LLMs also have to parse that noise. When an AI tool edits a Nuxt page, repeated Tailwind CSS strings eat tokens that could describe route behavior, data fetching, and accessibility.

Nuxt + Tailwind CSS + daisyUI

daisyUI gives Nuxt projects shorter classes for repeated interface patterns.

  • Cleaner layouts: Use navbar, drawer, menu, card, and footer for app shells.

  • Rendering-mode friendly: daisyUI is CSS, so it works in server-rendered, static, and client-rendered parts.

  • More useful AI context: Shorter UI markup gives LLMs more room for Nuxt-specific logic.

  • Tailwind CSS stays available: Use utilities for custom grids, spacing, and responsive details.

Nuxt handles the application. Tailwind CSS handles styling. daisyUI keeps repeated UI concise.

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

daisyUI is awesome!

Daniel Kelly
Teacher/Content Creator at vueschool.io

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

Shaun Furtado
JS dev

Can't state how much I love daisyUI ♥️

rootkid
Software Developer

DaisyUI just looks amazing.

Kelvin Htat
Solo founder

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

Joel Pickin
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