shadcn

Manage shadcn/ui components and presets via the npx shadcn@latest CLI.

1|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/rodrigobranas/formacao_ia_arq_t1_4 --skill shadcn-rodrigobranas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/rodrigobranas/formacao_ia_arq_t1_4/tree/main/helpdesk_project/.agents/skills/shadcn
Command: npx skills add https://github.com/rodrigobranas/formacao_ia_arq_t1_4 --skill shadcn-rodrigobranas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The shadcn Skill unit helps teams standardize and accelerate UI work by managing shadcn/ui components, registries, and presets across a project, ensuring consistency and quick access to docs and usage examples.

Core Features & Use Cases

  • Centralized CLI-driven management of components, presets, and project context for shadcn/ui.
  • Provides docs, usage examples, and component docs for rapid integration with Next.js, Vite, and other frameworks.
  • Applies to projects with a components.json and supports triggering setup via "shadcn init", "create an app with --preset", or "switch to --preset".
  • Real-world use includes adding new components, searching registries, and applying preset changes across an existing codebase.

Quick Start

Initialize the CLI in your project with shadcn and begin adding or updating components with simple, explicit commands.

Frequently Asked Questions about shadcn

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

FAQPage Schema
How do I add and manage shadcn/ui components in a React project?

You can manage shadcn/ui components by running CLI commands like npx shadcn@latest to add, update, and search for components. This enforces a standardized workflow for UI integration.

What are shadcn/ui presets and how do they work?

shadcn/ui presets allow you to apply predefined configurations and component sets to a project. You can trigger them using commands like create an app with --preset to standardize your UI codebase.

Can I use shadcn/ui with Vite and Next.js frameworks?

Yes, shadcn/ui works with Next.js, Vite, and other frameworks. The CLI requires a components.json file in your project to properly configure and apply component registries.

How do I find documentation and usage examples for shadcn/ui components?

You can retrieve shadcn/ui docs and usage examples by executing search and docs workflows via the CLI. This provides rapid access to component documentation directly within your environment.

Do I need a components.json file to initialize shadcn/ui?

Yes, applying presets and managing components requires a components.json file in your project. You can initialize this configuration by running the shadcn init command.

What is the best way to update existing shadcn/ui components?

The best way to update shadcn/ui components is by using the update workflow through the CLI with npx shadcn@latest. This ensures you fetch the latest versions and apply preset changes safely.