nuxt-ui

Build Vue and Nuxt interfaces with @nuxt/ui v4 components and Tailwind CSS theming.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/serosme/homepage --skill nuxt-ui-serosme
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt-ui
Source: https://github.com/serosme/homepage/tree/main/.agents/skills/nuxt-ui
Command: npx skills add https://github.com/serosme/homepage --skill nuxt-ui-serosme

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @nuxt/ui, tailwindcss, and includes references (resource) components.

What problem does it solve? Choosing the right component, theming it correctly, and wiring layouts in @nuxt/ui v4 requires knowing 125+ components, semantic color rules, and slot conventions. This Skill provides decision matrices, layout patterns, and recipes so you write correct Nuxt UI code on the first attempt. ## Core Features & Use Cases - Component selection guidance: Decision matrices for Modal vs Slideover, Select vs SelectMenu, Toast vs Alert, plus a categorized index of all 125+ components. - Ready-made layouts and recipes: Full patterns for dashboards, landing pages, docs sites, AI chat with Vercel AI SDK, rich text editors, auth forms, data tables, overlays, and navigation. - Theming and design system rules: Semantic colors, variants, the ui prop override priority, brand color customization, and MCP server integration for live component API docs. - Use Case: Ask to build an admin dashboard with a collapsible sidebar, a users table with search and pagination, and a slideover edit form — the Skill routes to the dashboard, data-tables, forms, and overlays references and produces working Vue code. ## Quick Start Use the nuxt-ui skill to build a dashboard page with a collapsible sidebar and a searchable data table.

Frequently Asked Questions about nuxt-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a dashboard layout with Nuxt UI?

Use UDashboardGroup with UDashboardSidebar and UDashboardPanel. The sidebar supports resizable and collapsible props, and pages need definePageMeta with the dashboard layout. Put UDashboardNavbar in the panel header slot and scrollable content in the body slot.

How do I choose between UModal, USlideover, and UDrawer?

Use UModal for confirmations and focused tasks, USlideover for detail panels and settings that slide from the edge, and UDrawer for mobile bottom sheets. For programmatic overlays without template state, use the useOverlay composable.

Does @nuxt/ui work with plain Vue and Vite without Nuxt?

Yes, @nuxt/ui supports Vue via the @nuxt/ui/vite plugin and the vue-plugin registered in main.ts. It also works with Laravel and AdonisJS through Vite plus Inertia by passing the router inertia option.

How do I customize Nuxt UI theme colors for my brand?

Define all 11 shades of your brand color in CSS with @theme static, then assign it via ui colors primary in app.config.ts or the Vite plugin config. Always use semantic colors like primary and neutral instead of raw Tailwind palette classes.

Why must UApp wrap my Nuxt UI application?

UApp provides the toast container, tooltip provider, programmatic overlay context, and i18n locale support. Without it, useToast, tooltips, and useOverlay-based modals will not function.

How do I validate forms in Nuxt UI with Zod?

Wrap fields in UForm with a Zod schema and reactive state, and give each UFormField a name matching the schema key. The submit event only fires when validation passes, and event.data contains the validated values.