--- name: shadcn-ui-designer description: Design and build modern UI components and pages using shadcn/ui. Creates clean, accessible interfaces with Tailwind CSS following shadcn principles. Use when building UI components, pages, forms, dashboards, or any interface work. --- # Shadcn UI Designer Build production-ready UI components using shadcn/ui principles: minimal, accessible, composable, and beautiful by default. ## Core Philosophy **Design modern, minimal interfaces** with: - Clean typography (Inter/system fonts, 2-3 weights max) - Ample whitespace (4px-based spacing: p-1 through p-8) - Subtle shadows (shadow-sm/md/lg only) - Accessible contrast (WCAG AA minimum) - Smooth micro-interactions (200-300ms transitions) - Professional neutrals (slate/zinc scale) with subtle accents **Build composable components** that work together seamlessly. ## Quick Start Pattern ```tsx import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card" import { Button } from "@/components/ui/button" export function MyComponent() { return (
Description
Supporting text
``` ### Spacing Use consistent spacing scale: - **Micro**: `space-y-2` (8px) - within sections - **Small**: `space-y-4` (16px) - between elements - **Medium**: `space-y-6` (24px) - between sections - **Large**: `space-y-8` (32px) - major divisions ```tsx