daisyUI v5.6 is now available!

Nuxt component library

Use daisyUI as a Tailwind CSS component library for Nuxt projects

Best Nuxt component library

Nuxt

Nuxt is a Vue framework for building server-rendered, statically generated, and client-rendered applications.

It gives Vue projects file-based routing, layouts, server routes, middleware, modules, auto imports, and Nitro for server-side deployment targets. The framework conventions reduce setup work while still leaving room for app-specific decisions.

Nuxt's rendering modes are useful when one application needs marketing pages, authenticated dashboards, dynamic routes, and API endpoints in the same codebase.

Nuxt + daisyUI

daisyUI fits Nuxt because it gives Vue templates ready-made component classes without adding a second component framework.

The benefits show up in common Nuxt code:

  • : btn, card, navbar, tabs, and dropdown keep Nuxt components easier to scan.

  • Rendering-mode friendly: daisyUI styles plain HTML, so it works with server rendering, static generation, and client-rendered parts.

  • No extra client runtime: daisyUI doesn't add JavaScript, plugins, or global providers to your Nuxt app.

  • Theme control: Use Nuxt state, cookies, or server-rendered attributes to set daisyUI themes.

Nuxt handles the application model. daisyUI gives the interface a reusable component language.

If you use Tailwind and want prepackaged components then I wholeheartedly recommend daisyUI! An awesome set of defaults that's super configurable 🔥

Scott Spence
SvelteSociety London events organiser

Can't state how much I love daisyUI ♥️

rootkid
Software Developer

I was using bootstrap first than switched to tailwind but there's so many classes too much code, than i found daisyUI. if anyone coming from bootstrapcss background you will love daisyUI for sure. 🙌

Jagdish kashyap
Software developer

daisyUI is the only way to use tailwind

Suspect
Dev

daisyUI is a *joy to use* 🙏

Oli Nelson
Indie Software Dev

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

Shaun Furtado
JS dev

Install Tailwind CSS and daisyUI for Nuxt

Getting started with daisyUI in Nuxt uses the Tailwind CSS module flow.

Create a Nuxt project, add the Nuxt Tailwind CSS module, install daisyUI, and register it from your CSS with @plugin "daisyui".

After setup, use daisyUI classes in pages, layouts, and Vue components.

For Nuxt-specific installation instructions, 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