
Nuxt UI is a library of accessible, typed Vue components built on Reka UI, Tailwind CSS and Tailwind Variants. It works as a module in Nuxt and as a Vite plugin in plain Vue apps.
!NOTE You are on the
v4branch. Check out the v3 branch for Nuxt UI v3 or the v2 branch for Nuxt UI v2.
Visit https://ui.nuxt.com to explore the documentation.
Start your project from one of the Nuxt UI templates below, or browse them all on the templates page.
pnpm add @nuxt/ui tailwindcss
yarn add @nuxt/ui tailwindcss
npm install @nuxt/ui tailwindcss
bun add @nuxt/ui tailwindcss
nuxt.config.ts:export default defineNuxtConfig({
modules: ['@nuxt/ui'],
css: ['~/assets/css/main.css']
})
@import "tailwindcss";
@import "@nuxt/ui";
Learn more in the installation guide.
vite.config.ts:import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import ui from '@nuxt/ui/vite'
export default defineConfig({
plugins: [
vue(),
ui()
]
})
main.ts:import './assets/css/main.css'
import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import ui from '@nuxt/ui/vue-plugin'
import App from './App.vue'
const app = createApp(App)
const router = createRouter({
routes: [],
history: createWebHistory()
})
app.use(router)
app.use(ui)
app.mount('#app')
@import "tailwindcss";
@import "@nuxt/ui";
Learn more in the installation guide.
Found a bug? Open an issue with a reproduction. Questions and ideas go in Discussions.
Before opening a pull request, read the contribution guide and set up your local development environment.
!TIP
AGENTS.mdgives AI coding agents the component structure, theming patterns, testing conventions and documentation guidelines they need to contribute. Agents that support it load it automatically.
Licensed under the MIT license.