Design System
Every Genesis component displayed atomically. Use this as a living style guide.
1. Colors & Tokens
--primary
--secondary
--muted
--accent
--destructive
--background
--card
--border
--success
--warning
--destructive
--info
CSS variables: var(--primary), var(--secondary), var(--muted), var(--accent), var(--destructive)
2. Typography
Font: Inter (body), Space Grotesk (headings via font-display)
text-3xlThe quick brown fox jumps over the lazy dog
text-2xlThe quick brown fox jumps over the lazy dog
text-xlThe quick brown fox jumps over the lazy dog
text-lgThe quick brown fox jumps over the lazy dog
text-baseThe quick brown fox jumps over the lazy dog
text-smThe quick brown fox jumps over the lazy dog
text-xsThe quick brown fox jumps over the lazy dog
className="text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl"
4. Badges
<Badge variant="default|secondary|destructive|outline|success|warning|info|muted" />
5. Cards
This is the card content area. It can contain any elements.
Cards support any background and custom styling via className.
<Card> <CardHeader> <CardTitle /> <CardDescription /> </CardHeader> <CardContent /> <CardFooter /> </Card>
6. StatCard
2,834
+12.5% from last month
$12,450
+8.1% from last month
1,284
-2.4% from last month
18.2%
<StatCard label="..." value="..." icon={Icon} color="text-..." trend={{ value: 12, label: "..." }} href="/..." />7. Inputs & Forms
<Input /> <Select> <SelectTrigger /> <SelectContent> <SelectItem /> </SelectContent> </Select> <Checkbox />
8. Dialog
<Dialog> <DialogTrigger /> <DialogContent mobileLayout="center" | "sheet" | "fullscreen"> <DialogHeader /> <DialogFooter /> </DialogContent> </Dialog>
9. Alert Dialog
<AlertDialog> <AlertDialogTrigger /> <AlertDialogContent> ... <AlertDialogAction /> <AlertDialogCancel /> </AlertDialogContent> </AlertDialog>
10. DataTable
| Wireless Headphones | Active | Electronics |
| Leather Notebook | Draft | Stationery |
| Running Shoes | Active | Apparel |
| Ceramic Mug | Archived | Kitchen |
| Desk Lamp | Active | Office |
<DataTable items={[...]} columns={[...]} getKey={(i) => i.id} pagination pageSize={25} selectable />11. DataGrid
<DataGrid items={[...]} viewMode="grid" renderCard={(item) => ...} renderTable={(items) => ...} renderListItem={(item) => ...} />12. DataList
Wireless Headphones
Electronics · 2026-04-01
Leather Notebook
Stationery · 2026-03-28
Running Shoes
Apparel · 2026-03-20
Ceramic Mug
Kitchen · 2026-03-15
Desk Lamp
Office · 2026-03-10
<DataList items={[...]} renderItem={(item, index) => ...} emptyMessage="..." />13. KanbanBoard
Research competitors
Alice
Write docs
Bob
Build dashboard
Carol
Setup CI/CD
David
Design tokens
Eve
<KanbanBoard columns={[{ key, label, color, bgColor, items }]} renderCard={(item) => ...} />14. DataPageShell
Products
Manage your product catalog
Content area goes here
<DataPageShell title="..." subtitle="..." icon={Icon} count={5} totalCount={12} viewMode={mode} onViewModeChange={setMode}> ... </DataPageShell>15. DataFilters
<DataFilters search={...} onSearchChange={...} sort={...} onSortChange={...} sortOptions={[...]} filters={[...]} />16. ViewToggle
<ViewToggle viewMode="grid|table|list" onViewModeChange={(mode) => ...} />17. EmptyState
No items yet. Create your first one.
<EmptyState icon={Icon} message="..." action={<Button>...</Button>} hasFilters onClearFilters={...} />18. Progress
<Progress value={50} className="..." />19. Skeleton
<Skeleton className="h-4 w-full" /> -- animate-pulse rounded-md bg-muted
20. Tabs
Overview content goes here. This tab is currently selected.
<Tabs defaultValue="..."> <TabsList> <TabsTrigger value="..." /> </TabsList> <TabsContent value="..."> ... </TabsContent> </Tabs>
21. Separator
Horizontal
Vertical (inside a flex container)
<Separator orientation="horizontal|vertical" />
22. Tooltip
<Tooltip content="..." side="top|bottom|left|right"> <children /> </Tooltip>