Langsung ke konten
Skillpedia
Website & UI (frontend)7.0k Β· #13692

nuxt-ui

Fungsinya

Skill ini memandu pembuatan antarmuka web dengan pustaka Nuxt UI, yang dibangun di atas Vue dan Tailwind CSS. Skill ini ditujukan untuk developer yang menginginkan komponen yang mudah diakses dan sesuai tema untuk dasbor, formulir, dokumentasi, atau layar obrolan.

Kapan dipakai

  • βœ“Saat Anda membangun antarmuka Nuxt atau Vue dan menginginkan komponen siap pakai yang mudah diakses.
  • βœ“Saat Anda perlu menyesuaikan tema agar sesuai dengan merek Anda.
  • βœ“Saat Anda menyusun tata letak dasbor, situs dokumentasi, atau antarmuka obrolan.

Link skill

https://github.com/nuxt/ui/blob/v4/skills/nuxt-ui/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/nuxt/ui/blob/v4/skills/nuxt-ui/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda membuat halaman pengaturan di aplikasi Nuxt saya memakai komponen Nuxt UI dengan tema gelap yang sesuai dengan merek kami?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memilih komponen yang tepat untuk setiap bagian halaman, mengatur token tema untuk merek Anda, dan menyusun tata letaknya. Untuk props dan event yang tepat, agent memakai server dokumentasi Nuxt UI.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Nuxt UI

Vue component library built on Reka UI + Tailwind CSS + Tailwind Variants. Works with Nuxt, Vue (Vite), Laravel (Vite + Inertia), and AdonisJS (Vite + Inertia).

MCP Server

For component API details (props, slots, events, full documentation, examples), use the Nuxt UI MCP server. If not already configured, add it:

Cursor β€” .cursor/mcp.json:

{ "mcpServers": { "nuxt-ui": { "type": "http", "url": "https://ui.nuxt.com/mcp" } } }

Claude Code:

claude mcp add --transport http nuxt-ui https://ui.nuxt.com/mcp

Key MCP tools:

  • search-components β€” find components by name, category, or intent (no params = list all)
  • search-composables β€” find composables by name or description (no params = list all)
  • search-icons β€” search Iconify icons (defaults to lucide), returns i-{prefix}-{name} names
  • get-component β€” full component documentation with usage examples
  • get-component-metadata β€” props, slots, events (lightweight, no docs content)
  • get-example β€” real-world code examples

When you need to know what a component accepts or how its API works, use the MCP. This skill teaches you when to use which component and how to build well.

Core rules (always apply)

  1. Always wrap the app in UApp β€” required for toasts, tooltips, and programmatic overlays. Accepts a locale prop for i18n.
  2. Always use semantic colors β€” text-default, bg-elevated, border-muted, etc. Never use raw Tailwind palette colors like text-gray-500.
  3. Read generated theme files for slot names β€” Nuxt: .nuxt/ui/<component>.ts, Vue: node_modules/.nuxt-ui/ui/<component>.ts. These show every slot, variant, and default class for any component.
  4. Override priority (highest wins): ui prop / class prop β†’ global config β†’ theme defaults.
  5. Icons use i-{collection}-{name} format β€” lucide is the default collection. Use the MCP search-icons tool to find icons, or browse at icones.js.org.

How to use this skill

Based on the task, load the relevant reference files before writing any code. Don't load everything β€” only what's needed.

Reference files

Guidelines β€” design decisions and conventions:

  • design-system β€” semantic colors, theming, brand customization, variants, the ui prop
  • component-selection β€” decision matrices: when to use Modal vs Slideover, Select vs SelectMenu, Toast vs Alert, etc.
  • conventions β€” coding patterns, slot naming, items arrays, composables, keyboard shortcuts
  • forms β€” form validation, field layout, error handling, Standard Schema

Layouts β€” full page structure patterns:

  • landing β€” landing pages, blog, changelog, pricing
  • dashboard β€” admin UI with sidebar and panels
  • docs β€” documentation sites with navigation and TOC
  • chat β€” AI chat with Vercel AI SDK
  • editor β€” rich text editor with toolbars

Recipes β€” complete patterns for common tasks:

  • data-tables β€” tables with filters, pagination, sorting, selection
  • auth β€” login, signup, forgot password forms
  • overlays β€” modals, slideovers, drawers, command palette
  • navigation β€” headers, sidebars, breadcrumbs, tabs

Quick reference:

  • components β€” categorized component index for finding the right component name

Routing table

Task Load these references
Build a landing page design-system, conventions, landing
Build a dashboard / admin UI conventions, component-selection, dashboard
Add a settings page conventions, forms
Create a login / signup form conventions, forms, auth
Display data in a table conventions, component-selection, data-tables
Customize theme / brand colors design-system
Add a chat interface conventions, chat
Add a modal, slideover, or drawer conventions, component-selection, overlays
Build site navigation conventions,
Pertanyaan umum

Apakah bisa dipakai di luar Nuxt?

Ya. Skill ini menyebutkan bahwa pustaka ini juga bekerja dengan Vue dengan Vite, Laravel, dan AdonisJS.

Di mana saya bisa mencari props komponen?

Skill ini merekomendasikan server MCP Nuxt UI untuk detail komponen yang tepat.

Versi berapa yang dituju?

Skill ini ditulis untuk @nuxt/ui versi 4.

Detail

Deskripsi asli dari pembuat

Build UIs with @nuxt/ui v4 β€” 125+ accessible Vue components with Tailwind CSS theming. Use when creating interfaces, customizing themes to match a brand, building forms, or composing layouts like dashboards, docs sites, and chat interfaces.

repo: nuxt/ui

Popularitas

Bintang GitHub
7.0k
Peringkat
#13692
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill serupa