Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: nuxt-ui3description: 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: 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.4.0 (January 2026)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## Loading Files3839**Consider loading these reference files based on your task:**4041- [ ] [references/installation.md](references/installation.md) - if installing or configuring @nuxt/ui42- [ ] [references/theming.md](references/theming.md) - if customizing theme, colors, or Tailwind Variants43- [ ] [references/components.md](references/components.md) - if browsing component index or finding components by category44- [ ] [references/forms.md](references/forms.md) - if building forms with validation (Zod/Valibot)45- [ ] [references/overlays.md](references/overlays.md) - if using Toast, Modal, Slideover, Drawer, or CommandPalette46- [ ] [references/composables.md](references/composables.md) - if using useToast, useOverlay, or other composables4748**DO NOT load all files at once.** Load only what's relevant to your current task.4950## Key Concepts5152| Concept | Description |53| ----------------- | ---------------------------------------------------------- |54| UApp | Required wrapper component for Toast, Tooltip, overlays |55| Tailwind Variants | Type-safe styling with slots, variants, compoundVariants |56| Semantic Colors | primary, secondary, success, error, warning, info, neutral |57| Reka UI | Headless component primitives (accessibility built-in) |5859> For headless component primitives (API details, accessibility patterns, asChild): read the **reka-ui** skill6061## Quick Reference6263```ts64// nuxt.config.ts65export default defineNuxtConfig({66modules: ['@nuxt/ui'],67css: ['~/assets/css/main.css']68})69```7071```css72/* assets/css/main.css */73@import 'tailwindcss';74@import '@nuxt/ui';75```7677```vue78<!-- app.vue - UApp wrapper required -->79<template>80<UApp>81<NuxtPage />82</UApp>83</template>84```8586## Resources8788- [Nuxt UI Docs](https://ui.nuxt.com)89- [Component Reference](https://ui.nuxt.com/components)90- [Theme Customization](https://ui.nuxt.com/getting-started/theme)9192---9394_Token efficiency: Main skill ~300 tokens, each sub-file ~800-1200 tokens_95