Use daisyUI as a Tailwind CSS component library for Vue projects
Vue is a progressive JavaScript framework for building user interfaces.
You can use Vue for a small interactive widget, a single-page application, or a full-stack project through frameworks like Nuxt. Its single-file components keep template, script, and styles close together while still supporting a strong ecosystem.
Vue's reactivity system updates the UI when state changes, and its template syntax stays close to HTML. That makes it approachable for teams that want component structure without hiding the page markup.
daisyUI works well with Vue because it gives Vue templates a clean component-class layer. Vue handles reactivity, props, events, slots, routing, and data. daisyUI handles the CSS.
The pairing is simple:
No competing component runtime: daisyUI doesn't ship Vue components or global plugins.
: btn, card, modal, menu, and input keep Vue components easier to scan.
Works with slots and components: Use daisyUI classes inside your own Vue components instead of adopting a fixed component API.
Themeable apps: Vue state, route layouts, or persisted user settings can control daisyUI themes.
You keep the flexibility of Vue while avoiding a custom design system for every project.
Setting up daisyUI with Vue uses Vite and Tailwind CSS.
Create a Vue project, install Tailwind CSS, @tailwindcss/vite, and daisyUI, then add @plugin "daisyui" to your CSS file.
After setup, use daisyUI classes directly in Vue templates and components.
For Vue-specific installation instructions, see How to install daisyUI with Vue.
Used by engineers at