shadcn

Set up shadcn UI components and theming with the shadcn CLI.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SimyV/agent-system --skill shadcn-simyv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/SimyV/agent-system/tree/main/config/skills/web-development/shadcn
Command: npx skills add https://github.com/SimyV/agent-system --skill shadcn-simyv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines the setup of shadcn UI components and theming in new projects, enabling rapid UI bootstrap and consistent design systems.

Core Features & Use Cases

  • Initialisation: Bootstraps shadcn in an existing project with the CLI to lay the foundation quickly.
  • Component Integration: Adds individual or all components via the CLI to accelerate UI assembly.
  • Theming Workflows: Guides applying theme CSS variables to globals.css and configuring Tailwind v4 for theme switching and dark mode.

Quick Start

Initialise shadcn in an existing project with npx shadcn@latest init to begin using its components and theming.

Frequently Asked Questions about shadcn

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

FAQPage Schema
How do I set up shadcn UI in an existing project?

To set up shadcn UI, initialise the library in your project using the CLI command npx shadcn@latest init. This lays the foundation for adding components and applying custom themes.

How do I add individual UI components using shadcn?

You can add UI components by running the npx shadcn@latest add command. This accelerates UI assembly by integrating individual or all available components into your project.

How do I configure Tailwind v4 for shadcn UI theme switching and dark mode?

Configuring Tailwind v4 for theme switching involves applying theme CSS variables to globals.css. This enables dark mode and consistent design systems across Tailwind and Radix-based UI components.

Can I use shadcn UI for rapid UI bootstrap in new projects?

Yes, shadcn UI streamlines setup for rapid UI bootstrap in new projects. It covers project initialisation, component addition, and theming customization to enable consistent design systems quickly.

Does shadcn UI work with Radix-based UI components?

shadcn UI integrates directly with Radix-based UI components. The theming workflows guide you through configuring Tailwind and applying CSS variables to support this architecture.