shadcn/ui
Complete shadcn/ui documentation. Beautifully designed components built with Radix UI and Tailwind CSS. Copy-paste into your apps. Covers installation, components, theming, forms, charts, and framework integrations.
Why use this skill?
Access the complete shadcn/ui library with this OpenClaw skill. Get expert guidance on component installation, configuration, and best practices for modern web apps.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/leonaaardob/lb-shadcn-ui-skillWhat This Skill Does
The shadcn/ui skill is a comprehensive documentation and integration library for the shadcn/ui design system. It acts as an expert assistant that provides instant access to the documentation for over 50+ accessible, customizable components built on top of Radix UI and Tailwind CSS. Beyond simple reference, it assists developers in scaffolding component structures, debugging complex layouts, and implementing advanced patterns like data tables with TanStack Table, complex forms with React Hook Form and Zod, and interactive data visualizations using Recharts. Whether you are setting up a new Next.js project or migrating a legacy application, this skill provides the necessary CLI commands, configuration steps, and best practices to ensure your UI remains consistent, accessible, and performant.
Installation
To integrate this skill into your OpenClaw agent, execute the following command in your terminal:
clawhub install openclaw/skills/skills/leonaaardob/lb-shadcn-ui-skill
Once installed, ensure your project environment has Tailwind CSS and the necessary peer dependencies (like Radix UI primitives) configured according to the instructions provided by the agent.
Use Cases
- Rapid Prototyping: Quickly generate boilerplate code for complex components like Dialogs, Drawers, or Command palettes without leaving your IDE.
- Framework Migration: Use the skill to find specific setup instructions for integrating shadcn/ui into non-standard frameworks like Laravel, Astro, or Tanstack Router.
- Theming and Customization: Generate CSS variable definitions for light/dark mode and update your
components.jsonconfiguration file. - Form Handling: Utilize the skill to scaffold type-safe forms incorporating Zod validation and React Hook Form state management.
Example Prompts
- "How do I set up the DatePicker component in my Next.js app, and what are the required dependencies?"
- "Create a reusable Card component that follows the shadcn/ui design pattern and accepts custom Tailwind classes."
- "Show me the configuration required to support dark mode with CSS variables in my shadcn/ui installation."
Tips & Limitations
- Tips: Always maintain your
components.jsonat the root of your project; the agent uses this to provide context-aware suggestions. If you are struggling with component styling, ask the agent to explain the specific Tailwind utility classes used in the component's variant definitions. - Limitations: While the skill contains exhaustive documentation, it does not execute code directly in your browser. You must manually copy and paste the generated snippets into your files. Ensure your local Tailwind configuration matches the expected patterns to avoid style overrides.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-leonaaardob-lb-shadcn-ui-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
frontend-design
Generates production-ready UI components from natural language. Use when the user asks to design a component, create a button, build a form, prototype a layout, or generate React/Tailwind CSS code. NOT for: backend logic, API design, database schema, or non-UI tasks.
axure-prototype-generator
Axure 原型代码生成器 - 输出 JavaScript 格式 HTML 代码,支持内联框架直接加载可交互原型。
xcloud-docker-deploy
Deploy any project to xCloud hosting — auto-detects stack (WordPress, Laravel, PHP, Node.js, Next.js, NestJS, Python, Go, Rust), routes to native or Docker deployment, generates production-ready Dockerfile, docker-compose.yml, GitHub Actions CI/CD, and .env.example. Works from zero Docker setup.
react-best-practices
Audits React code for performance, bundle size, and best practices. Use when reviewing React code, auditing bundle size, finding performance issues, checking React 18+ patterns, or evaluating a React codebase. NOT for: non-React projects, backend Node.js code, or CSS-only reviews.
SeedFlip Dashboard Theme
Re-theme your OpenClaw dashboard with 104 curated design seeds from SeedFlip. Fonts, colors, shadows, radii. One command, instant transformation.