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.4.0 (January 2026)
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 |
Loading Files
Consider loading these reference files based on your task:
DO NOT load all files at once. Load only what's relevant to your current task.
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-ui
3description: Use when building styled UI with @nuxt/ui v4 components - create forms with validation, implement data tables with sorting, build modal dialogs and overlays, configure Tailwind Variants theming. Use vue skill for raw component patterns, reka-ui for headless primitives.
4license: MIT
5metadata:
6 source: https://skillmd.com/skills/om-scogo/nuxt-ui
7---
8
9# Nuxt UI v4
10
11Component library for Vue 3 and Nuxt 4+ built on Reka UI (headless) + Tailwind CSS v4 + Tailwind Variants.
12
13**Current stable version:** v4.4.0 (January 2026)
14
15## When to Use
16
17- Installing/configuring @nuxt/ui
18- Using UI components (Button, Card, Table, Form, etc.)
19- Customizing theme (colors, variants, CSS variables)
20- Building forms with validation
21- Using overlays (Modal, Toast, CommandPalette)
22- Working with composables (useToast, useOverlay)
23
24**For Vue component patterns:** use `vue` skill
25**For Nuxt routing/server:** use `nuxt` skill
26
27## Available Guidance
28
29| File | Topics |
30| ------------------------------------------------------------ | -------------------------------------------------------------------------------- |
31| **[references/installation.md](references/installation.md)** | Nuxt/Vue setup, pnpm gotchas, UApp wrapper, module options, prefix, tree-shaking |
32| **[references/theming.md](references/theming.md)** | Semantic colors, CSS variables, app.config.ts, Tailwind Variants |
33| **[references/components.md](references/components.md)** | Component index by category (125+ components) |
34| **components/\*.md** | Per-component details (button.md, modal.md, etc.) |
35| **[references/forms.md](references/forms.md)** | Form components, validation (Zod/Valibot), useFormField |
36| **[references/overlays.md](references/overlays.md)** | Toast, Modal, Slideover, Drawer, CommandPalette |
37| **[references/composables.md](references/composables.md)** | useToast, useOverlay, defineShortcuts, useScrollspy |
38
39## Loading Files
40
41**Consider loading these reference files based on your task:**
42
43- [ ] [references/installation.md](references/installation.md) - if installing or configuring @nuxt/ui
44- [ ] [references/theming.md](references/theming.md) - if customizing theme, colors, or Tailwind Variants
45- [ ] [references/components.md](references/components.md) - if browsing component index or finding components by category
46- [ ] [references/forms.md](references/forms.md) - if building forms with validation (Zod/Valibot)
47- [ ] [references/overlays.md](references/overlays.md) - if using Toast, Modal, Slideover, Drawer, or CommandPalette
48- [ ] [references/composables.md](references/composables.md) - if using useToast, useOverlay, or other composables
49
50**DO NOT load all files at once.** Load only what's relevant to your current task.
51
52## Key Concepts
53
54| Concept | Description |
55| ----------------- | ---------------------------------------------------------- |
56| UApp | Required wrapper component for Toast, Tooltip, overlays |
57| Tailwind Variants | Type-safe styling with slots, variants, compoundVariants |
58| Semantic Colors | primary, secondary, success, error, warning, info, neutral |
59| Reka UI | Headless component primitives (accessibility built-in) |
60
61> For headless component primitives (API details, accessibility patterns, asChild): read the **reka-ui** skill
62
63## Quick Reference
64
65```ts
66// nuxt.config.ts
67export default defineNuxtConfig({
68 modules: ['@nuxt/ui'],
69 css: ['~/assets/css/main.css']
70})
71```
72
73```css
74/* assets/css/main.css */
75@import 'tailwindcss';
76@import '@nuxt/ui';
77```
78
79```vue
80<!-- app.vue - UApp wrapper required -->
81<template>
82 <UApp>
83 <NuxtPage />
84 </UApp>
85</template>
86```
87
88## Resources
89
90- [Nuxt UI Docs](https://ui.nuxt.com)
91- [Component Reference](https://ui.nuxt.com/components)
92- [Theme Customization](https://ui.nuxt.com/getting-started/theme)
93
94---
95
96_Token efficiency: Main skill ~300 tokens, each sub-file ~800-1200 tokens_