shadcn

Manage shadcn/ui components via CLI commands and components.json context.

2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/billlzzz26/note-taker-convex-ai-convex --skill shadcn-billlzzz26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/billlzzz26/note-taker-convex-ai-convex/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/billlzzz26/note-taker-convex-ai-convex --skill shadcn-billlzzz26

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams manage and integrate shadcn/ui components and presets across projects, ensuring consistent design tokens and up-to-date documentation.

Core Features & Use Cases

  • Provides project context awareness and guidance for using shadcn/ui components, presets, and component registries.
  • Supports adding, searching, viewing docs, and applying themes and presets via the CLI (init, add, docs, info).
  • Enforces core UI patterns and rules (styling, form composition, and component structure) to maintain design system integrity.

Quick Start

Initialize and configure shadcn/ui in your project with the CLI to install components, apply presets, and generate docs.

Frequently Asked Questions about shadcn

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

FAQPage Schema
How do I add shadcn/ui components to a Next.js or Vite project?

To add shadcn/ui components to a Next.js or Vite project, initialize the configuration via the CLI to generate a components.json file, then use the add command to install and register UI components directly into your codebase.

What is the components.json file used for in shadcn/ui?

The components.json file stores your shadcn/ui project configuration context, defining styling rules, component aliases, and registry paths to ensure consistent design tokens and proper component composition across your application.

Can I use custom component registries with the shadcn/ui CLI?

Yes, you can use custom component registries with the shadcn/ui CLI to discover, add, and document third-party components or internal presets, applying semantic styling rules across different registries seamlessly.

Does shadcn/ui enforce specific styling and form composition rules?

Yes, shadcn/ui enforces core UI patterns including semantic styling rules and proper component structure to maintain design system integrity when integrating components, building forms, and applying themes.

How do I apply themes and presets using shadcn/ui?

You apply themes and presets in shadcn/ui by executing CLI commands to update design tokens and override component styles, ensuring consistent visual theming across your frontend application.