# Quick Start Guide
Get up and running with the Syndarix design system immediately. This guide covers the essential patterns you need to build 80% of interfaces.
---
## TL;DR
```tsx
// 1. Import from @/components/ui/*
import { Button } from '@/components/ui/button';
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card';
// 2. Use semantic color tokens
className="bg-primary text-primary-foreground"
className="text-destructive"
// 3. Use spacing scale (4, 8, 12, 16, 24, 32...)
className="p-4 space-y-6"
// 4. Build layouts with these patterns
```
### Form Layout
```tsx
// Centered form with max width
Login
```
**[See all layout patterns](./03-layouts.md)** | **[Layout examples](/dev/layouts)**
---
## 3. Color System
**Always use semantic tokens**, never arbitrary colors:
```tsx
// ✅ GOOD - Semantic tokens
Primary
Error
Disabled
Body text
Secondary text
// ❌ BAD - Arbitrary colors
Don't do this
```
**Available tokens:**
- `primary` - Main brand color, CTAs
- `destructive` - Errors, delete actions
- `muted` - Disabled states, subtle backgrounds
- `accent` - Hover states, highlights
- `foreground` - Body text
- `muted-foreground` - Secondary text
- `border` - Borders, dividers
**[See complete color system](./01-foundations.md#color-system-oklch)**
---
## 4. Spacing System
**Use multiples of 4** (Tailwind's base unit is 0.25rem = 4px):
```tsx
// ✅ GOOD - Consistent spacing
Content
// ❌ BAD - Arbitrary spacing
Content
```
**Common spacing values:**
- `2` (8px) - Tight spacing
- `4` (16px) - Standard spacing
- `6` (24px) - Section spacing
- `8` (32px) - Large gaps
- `12` (48px) - Section dividers
**Pro tip:** Use `gap-` for grids/flex, `space-y-` for vertical stacks:
```tsx
// Grid spacing