Nuxt UI v4
Component library for Vue 3 and Nuxt 4+ built on Reka UI (headless) + Tailwind CSS v4 + Tailwind Variants.
Current stable version: v4.3.0 (December 2025)
When to Use
- Installing/configuring @nuxt/ui
- Using UI components (Button, Card, Table, Form, etc.)
- Customizing theme (colors, variants, CSS variables)
- Building forms with validation
- Using overlays (Modal, Toast, CommandPalette)
- Working with composables (useToast, useOverlay)
For Vue component patterns: use vue skill
For Nuxt routing/server: use nuxt skill
Available Guidance
| File |
Topics |
| references/installation.md |
Nuxt/Vue setup, pnpm gotchas, UApp wrapper, module options, prefix, tree-shaking |
| references/theming.md |
Semantic colors, CSS variables, app.config.ts, Tailwind Variants |
| references/components.md |
Component index by category (125+ components) |
| components/*.md |
Per-component details (button.md, modal.md, etc.) |
| references/forms.md |
Form components, validation (Zod/Valibot), useFormField |
| references/overlays.md |
Toast, Modal, Slideover, Drawer, CommandPalette |
| references/composables.md |
useToast, useOverlay, defineShortcuts, useScrollspy |
Usage Pattern
Load based on context:
- Installing Nuxt UI? → references/installation.md
- Customizing theme? → references/theming.md
- Component index → references/components.md
- Specific component → components/button.md, components/modal.md, etc.
- Building forms? → references/forms.md
- Using overlays? → references/overlays.md
- Using composables? → references/composables.md
DO NOT read all files at once. Load based on context.
Key Concepts
| Concept |
Description |
| UApp |
Required wrapper component for Toast, Tooltip, overlays |
| Tailwind Variants |
Type-safe styling with slots, variants, compoundVariants |
| Semantic Colors |
primary, secondary, success, error, warning, info, neutral |
| Reka UI |
Headless component primitives (accessibility built-in) |
For headless component primitives (API details, accessibility patterns, asChild): read the reka-ui skill
Quick Reference
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxt/ui'],
css: ['~/assets/css/main.css']
})
/* assets/css/main.css */
@import 'tailwindcss';
@import '@nuxt/ui';
<!-- app.vue - UApp wrapper required -->
<template>
<UApp>
<NuxtPage />
</UApp>
</template>
Resources
Token efficiency: Main skill ~300 tokens, each sub-file ~800-1200 tokens
1---2name: nuxt-ui3description: Use when building styled UI with @nuxt/ui v4 components (Button, Modal, Form, Table, etc.) - provides ready-to-use components with Tailwind Variants theming. Use vue skill for raw component patterns, reka-ui for headless primitives.4license: MIT5---67# Nuxt UI v489Component library for Vue 3 and Nuxt 4+ built on Reka UI (headless) + Tailwind CSS v4 + Tailwind Variants.1011**Current stable version:** v4.3.0 (December 2025)1213## When to Use1415- Installing/configuring @nuxt/ui16- Using UI components (Button, Card, Table, Form, etc.)17- Customizing theme (colors, variants, CSS variables)18- Building forms with validation19- Using overlays (Modal, Toast, CommandPalette)20- Working with composables (useToast, useOverlay)2122**For Vue component patterns:** use `vue` skill23**For Nuxt routing/server:** use `nuxt` skill2425## Available Guidance2627| File | Topics |28| ------------------------------------------------------------ | -------------------------------------------------------------------------------- |29| **[references/installation.md](references/installation.md)** | Nuxt/Vue setup, pnpm gotchas, UApp wrapper, module options, prefix, tree-shaking |30| **[references/theming.md](references/theming.md)** | Semantic colors, CSS variables, app.config.ts, Tailwind Variants |31| **[references/components.md](references/components.md)** | Component index by category (125+ components) |32| **components/\*.md** | Per-component details (button.md, modal.md, etc.) |33| **[references/forms.md](references/forms.md)** | Form components, validation (Zod/Valibot), useFormField |34| **[references/overlays.md](references/overlays.md)** | Toast, Modal, Slideover, Drawer, CommandPalette |35| **[references/composables.md](references/composables.md)** | useToast, useOverlay, defineShortcuts, useScrollspy |3637## Usage Pattern3839**Load based on context:**4041- Installing Nuxt UI? → [references/installation.md](references/installation.md)42- Customizing theme? → [references/theming.md](references/theming.md)43- Component index → [references/components.md](references/components.md)44- Specific component → [components/button.md](components/button.md), [components/modal.md](components/modal.md), etc.45- Building forms? → [references/forms.md](references/forms.md)46- Using overlays? → [references/overlays.md](references/overlays.md)47- Using composables? → [references/composables.md](references/composables.md)4849**DO NOT read all files at once.** Load based on context.5051## Key Concepts5253| Concept | Description |54| ----------------- | ---------------------------------------------------------- |55| UApp | Required wrapper component for Toast, Tooltip, overlays |56| Tailwind Variants | Type-safe styling with slots, variants, compoundVariants |57| Semantic Colors | primary, secondary, success, error, warning, info, neutral |58| Reka UI | Headless component primitives (accessibility built-in) |5960> For headless component primitives (API details, accessibility patterns, asChild): read the **reka-ui** skill6162## Quick Reference6364```ts65// nuxt.config.ts66export default defineNuxtConfig({67 modules: ['@nuxt/ui'],68 css: ['~/assets/css/main.css']69})70```7172```css73/* assets/css/main.css */74@import 'tailwindcss';75@import '@nuxt/ui';76```7778```vue79<!-- app.vue - UApp wrapper required -->80<template>81 <UApp>82 <NuxtPage />83 </UApp>84</template>85```8687## Resources8889- [Nuxt UI Docs](https://ui.nuxt.com)90- [Component Reference](https://ui.nuxt.com/components)91- [Theme Customization](https://ui.nuxt.com/getting-started/theme)9293---9495_Token efficiency: Main skill ~300 tokens, each sub-file ~800-1200 tokens_