Design
Design system
The tokens, marks, icons and components behind trycook.ai and the Cook app. If a value here disagrees with the app, the app is right.
Cook Design Book · v1.0
One system for the AI marketer.
General Sans, neutral surfaces, Cook blue for the one action that matters, department faces instead of icons, and cookicons for everything else.
72cookicons × 3 styles
24documented components
8department faces
16asset-type palettes
Principles
- One next action. Every screen leads with a single unambiguous action in Cook blue. Everything else is neutral.
- Nothing goes out without you. Money and messages wait for approval. The UI always shows what will change before it changes.
- Departments have faces. A department is drawn as its head’s face on its pastel ground, in a circle. Never as an icon tile.
- Honest state. Show freshness and failure plainly. Never imply a source is current when it failed.
Install
The icons ship as a local package: copy the cookicons library into web/lib/cookicons. The components live in web/components/ui.
import { CookIcon, MorningBriefIcon } from "@/lib/cookicons/react";
import * as Button from "@/components/ui/button";
pnpm -C web typecheck # full gate, zero errors
pnpm -C web check:design # strict token check: no raw hex, no arbitrary radius
pnpm -C web dev # the app on :3001
Foundation
- Colors: semantic tokens, status families, department grounds and asset palettes.
- Typography: General Sans, Satoshi and the four ramps.
- Icons: 72 cookicons in stroke, duotone and solid, searchable.
- Icon rules: the 24×24 grid, k=0.62 squircles, solid cutouts.
- Brand mark: the toque tile and its mono form.
- Departments: eight faces on their pastel grounds.
- Motion: the hop, and the 180ms control curve.
- Radius, spacing and shadow: eight radii, the 4px scale, three shadows.
Components
The 24 building blocks from web/components/ui and the Cook product surfaces, in four pages.
- Buttons and forms: Button, Input, Checkbox, Switch, Segmented Tabs, Composer.
- Status and feedback: Alert, Badge, Toast, Tooltip, Progress and Levels, Empty and Loading States.
- Menus and dialogs: Dialog, Dropdown Menu, Command Menu, Collapsible, Side Panel.
- Navigation and data: Active Rail, Card, Table, Activity Log, Avatar, Approval Card, Brand Icons.