madappgang/claude-code/shadcn-ui
Claude Code and agent skill by madappgang/claude-code
- community
- ext:[{"type":"config","description":"Configuration overrides"},{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Use when implementing UI components with shadcn/ui. Covers component installation, configuration with Vite/TanStack Router, CLI commands, and integration with Tailwind CSS.
Install
npx vskill@latest install madappgang/claude-code/shadcn-uiSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as madappgang/claude-code/shadcn-ui.
shadcn/ui Component Library
shadcn/ui is a collection of beautifully-designed, accessible components and a code distribution platform. It is built with TypeScript, Tailwind CSS, and Radix UI primitives. It supports multiple frameworks including Next.js, Vite, Remix, Astro, and more. Open Source. Open Code. AI-Ready. It also comes with a command-line tool to install and manage components and a registry system to publish and distribute code.
Key Principles
- Open Code: Components are copied into your project, not installed as dependencies
- Composition: Build complex UIs by composing simple components
- Distribution: CLI and registry system for easy component management
- Beautiful Defaults: Production-ready styling out of the box
- AI-Ready: Designed to work well with AI assistants
Quick Reference
CLI Commands
Configuration (components.json)
Documentation Index
Overview
| Topic | URL | Description | |
|---|---|---|---|
| Introduction | https://ui.shadcn.com/docs | Core principles and getting started | |
| CLI | https://ui.shadcn.com/docs/cli | Command-line tool reference | |
| components.json | https://ui.shadcn.com/docs/components-json | Configuration file documentation | |
| Theming | https://ui.shadcn.com/docs/theming | Colors, typography, design tokens | |
| Changelog | https://ui.shadcn.com/docs/changelog | Release notes and version history | |
| About | https://ui.shadcn.com/docs/about | Credits and project information |
Installation by Framework
| Framework | URL | Notes | |
|---|---|---|---|
| Vite | https://ui.shadcn.com/docs/installation/vite | Recommended for this plugin | |
| TanStack Router | https://ui.shadcn.com/docs/installation/tanstack-router | Works with TanStack ecosystem | |
| TanStack Start | https://ui.shadcn.com/docs/installation/tanstack | Full-stack TanStack framework | |
| Next.js | https://ui.shadcn.com/docs/installation/next | App Router and Pages Router | |
| Remix | https://ui.shadcn.com/docs/installation/remix | Remix framework | |
| Astro | https://ui.shadcn.com/docs/installation/astro | Astro framework | |
| React Router | https://ui.shadcn.com/docs/installation/react-router | React Router v7+ | |
| Laravel | https://ui.shadcn.com/docs/installation/laravel | Laravel Inertia | |
| Gatsby | https://ui.shadcn.com/docs/installation/gatsby | Gatsby framework | |
| Manual | https://ui.shadcn.com/docs/installation/manual | Without CLI |
Installation Instructions
TanStack Router (Recommended)
The fastest way to get started with shadcn/ui and TanStack Router:
Then add components:
Usage in routes:
Vite Installation
Step 1: Create project
Step 2: Add Tailwind CSS
Replace src/index.css:
Step 3: Configure TypeScript paths
Edit tsconfig.json:
Edit tsconfig.app.json:
Step 4: Configure Vite
Edit vite.config.ts:
Step 5: Initialize shadcn/ui
Step 6: Add components
Usage:
Manual Installation (Without CLI)
Step 1: Add Tailwind CSS
Follow the Tailwind CSS installation guide.
Step 2: Add dependencies
Step 3: Configure path aliases
In tsconfig.json:
Step 4: Configure styles
Create src/styles/globals.css:
Step 5: Add cn() helper
Create lib/utils.ts:
Step 6: Create components.json
Step 7: Add components
Components Reference
Form & Input Components
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/frontend/skills/shadcn-ui/SKILL.md
Popularity
- Repository stars
- 283
- Repository forks
- 26
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 May 2026, 6 months ago.
Extension points
configConfiguration overridespluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/madappgang/claude-code/shadcn-ui)