Agent skill

nuxt-ui

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.

Stars 611
Forks 25

Install this agent skill to your Project

npx add-skill https://github.com/onmax/nuxt-skills/tree/main/skills/nuxt-ui

SKILL.md

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:

  • references/installation.md - if installing or configuring @nuxt/ui
  • references/theming.md - if customizing theme, colors, or Tailwind Variants
  • references/components.md - if browsing component index or finding components by category
  • references/forms.md - if building forms with validation (Zod/Valibot)
  • references/overlays.md - if using Toast, Modal, Slideover, Drawer, or CommandPalette
  • references/composables.md - if using useToast, useOverlay, or other composables

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

ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxt/ui'],
  css: ['~/assets/css/main.css']
})
css
/* assets/css/main.css */
@import 'tailwindcss';
@import '@nuxt/ui';
vue
<!-- app.vue - UApp wrapper required -->
<template>
  <UApp>
    <NuxtPage />
  </UApp>
</template>

Resources


Token efficiency: Main skill ~300 tokens, each sub-file ~800-1200 tokens

Expand your agent's capabilities with these related and highly-rated skills.

onmax/nuxt-skills

pnpm

Use when managing Node.js dependencies with pnpm - install packages, configure monorepo workspaces, set up pnpm catalogs, resolve dependency conflicts with overrides, patch third-party packages, and configure CI pipelines for pnpm projects

611 25
Explore
onmax/nuxt-skills

nuxt-seo

Nuxt SEO meta-module with robots, sitemap, og-image, schema-org. Use when configuring SEO, generating sitemaps, creating OG images, or adding structured data.

611 25
Explore
onmax/nuxt-skills

ts-library

Use when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type inference tricks, testing, and publishing to npm. Use when bundling, configuring dual CJS/ESM output, or setting up release workflows.

611 25
Explore
onmax/nuxt-skills

motion

Use when adding animations with Motion Vue (motion-v) - provides motion component API, gesture animations, scroll-linked effects, layout transitions, and composables for Vue 3/Nuxt

611 25
Explore
onmax/nuxt-skills

vue

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

611 25
Explore
onmax/nuxt-skills

vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

611 25
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results