.gemini/skills/nuxt-ui/SKILL.md
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.
npx skillsauth add hdkiller/coach nuxt-uiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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)
For Vue component patterns: use vue skill
For Nuxt routing/server: use nuxt skill
| 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 |
Load based on context:
DO NOT read all files at once. Load based on context.
| 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
// 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>
Token efficiency: Main skill ~300 tokens, each sub-file ~800-1200 tokens
development
Use when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices, VueUse integration, and reactive destructuring guidance
tools
Use when authoring TypeScript libraries - covers project setup, package exports, build tooling (tsdown/unbuild), API design patterns, type inference tricks, testing, and release workflows. Patterns extracted from 20+ high-quality ecosystem libraries.
development
Use when building with Reka UI (headless Vue components) - provides component API, accessibility patterns, composition (asChild), controlled/uncontrolled state, virtualization, and styling integration. Formerly Radix Vue.
tools
Use when working on Nuxt 4+ projects - provides server routes, file-based routing, middleware patterns, Nuxt-specific composables, and configuration with latest docs. Covers h3 v1 helpers (validation, WebSocket, SSE) and nitropack v2 patterns.