Nuxt ui

From mattycraig/nuxt-theme-builder · View interactive version

Nuxt ui is an AI agent skill from the GitHub repository mattycraig/nuxt-theme-builder. 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.

How to use this skill

Skill file

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

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_

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.