--- name: ui-components description: Specialized skill for working with shadcn/ui components, Tailwind CSS styling, responsive design, and component composition. Use when creating new UI components, styling existing components, implementing responsive layouts, or working with the design system. --- # UI Components ## Quick Start When working with UI components: 1. Use shadcn/ui components from `@/components/ui/` 2. Follow mobile-first approach 3. Use Tailwind CSS for styling 4. Maintain accessibility (WCAG 2.1 AA) 5. Use design system colors and spacing ## Key Files - `src/components/ui/` - shadcn/ui components - `tailwind.config.ts` - Tailwind configuration - `src/styles/` - Global styles - `src/components/` - Custom components ## Common Patterns ### Using shadcn/ui Components ```typescript import { Button } from '@/components/ui/button'; import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card'; import { Input } from '@/components/ui/input'; function ProductForm() { return ( Nuevo Producto ); } ``` ### Mobile-First Responsive ```typescript

Título

``` ### Button Styles ```typescript // Primary action (yellow) // Secondary // Destructive ``` ### Tenant Colors ```typescript // Use CSS variables for tenant-specific colors
Content
``` ## Design System ### Colors - Primary: Blaze Orange (#ea5a17) - Secondary: Fun Green - Accent: Bright Sun - Use Tailwind color palette ### Spacing - Use Tailwind spacing scale (4, 8, 12, 16, 24, 32, etc.) - Mobile: Smaller padding/margins - Desktop: Larger spacing ### Typography - Mobile: text-base (16px) default - Desktop: text-lg (18px) default - Headings: text-2xl, text-3xl, text-4xl ## Accessibility - Use semantic HTML - Include ARIA labels when needed - Ensure keyboard navigation - Maintain color contrast ratios - Support screen readers