# shadcn/ui — Design & Layout Design tokens, spacing, icons, responsive layouts, and performance tips for shadcn/ui dashboards. --- ## Design Tips ### Color Schemes Use semantic color tokens: - `bg-background` / `text-foreground` — Main background and text - `bg-card` / `text-card-foreground` — Card surfaces - `bg-primary` / `text-primary-foreground` — Primary actions - `bg-destructive` — Destructive actions (delete, etc.) - `bg-muted` / `text-muted-foreground` — Subtle UI elements ### Spacing Use consistent spacing: - `space-y-4` / `gap-4` — Between related items - `space-y-6` / `gap-6` — Between sections - `p-4` / `p-6` — Card padding - `p-8` — Page padding ### Icons Use `lucide-react` for consistent icons: ```typescript import { Home, Users, Settings, Plus, Edit, Trash, Search } from "lucide-react"; ; ``` --- ## Responsive Design ### Grid Layouts ```typescript // 1 column on mobile, 2 on tablet, 4 on desktop