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.

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

Using a component library such as *daisyUI is such a productivity hack*. No going back from that.

Josef Büttgen
Developer

I used daisyUI theme generator's Halloween theme and tweaked it to what I want and now, I'm so proud of what I've got!

Ade
Software Engineer

I've been *enjoying daisyui* since I discovered it very recently, great job!

Vincent Bergeron
Software Developer

I would have never touched Tailwind CSS if it wasn't for daisyUI 🤗

lang
Software developer

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

Shaun Furtado
JS dev

daisyUI is amazing and *I use it for all my projects*

Cyris
Software Engineer

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