# Vault - UI Components **Generated:** 2026-02-11 **Framework:** React 19 + shadcn/ui **Styling:** Tailwind CSS 4 --- ## Design System ### Theme Configuration **Dark Theme (Default)** | Token | Value | Usage | |-------|-------|-------| | `--background` | `#0A0B14` | Page backgrounds | | `--foreground` | `#FFFFFF` | Primary text | | `--primary` | `#4169FF` | Primary actions | | `--muted` | `#1A1B2E` | Secondary backgrounds | | `--border` | `#2A2B3E` | Borders, dividers | ### Breakpoints | Breakpoint | Width | Target | |------------|-------|--------| | `sm` | 375px | Mobile (iOS Safari) | | `md` | 768px | Tablet | | `lg` | 1200px | Desktop | ### Glassmorphism Pattern ```css .glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); } ``` --- ## Shared UI Components Located in [`src/components/ui/`](../src/components/ui/). These are shadcn/ui components with minimal customization. ### Layout Components #### `Card` Container for grouped content. ```tsx import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from '@/components/ui/card'; Title Description Content Footer ``` #### `Badge` Status indicators and labels. ```tsx import { Badge } from '@/components/ui/badge'; Default Secondary Destructive Outline ``` **Custom Variants:** - `IN_STOCK` - Green background - `SOLD_OUT` - Gray background - `DISCONTINUED` - Blue background ### Form Components #### `Button` Primary interactive element. ```tsx import { Button } from '@/components/ui/button'; ``` #### `Input` Text input field. ```tsx import { Input } from '@/components/ui/input'; ``` #### `Textarea` Multi-line text input. ```tsx import { Textarea } from '@/components/ui/textarea';