01 — Foundations

Black, white and light.

A monochrome UI with five text steps, four border steps and three state layers. Colour appears only as light or as status.

PaletteSTYLE.md

Seven surfaces and inks

Ground

#000000

Raised

#0a0a0a

Glass

white 6%

Hairline

white 10%

Muted

white 40%

Tertiary

white 50%

Primary

#ffffff

The UI is black and white. Colour comes only from light: glows, imagery and the aurora pair

Textcolor.md

Five steps, nothing between

100

Invoice #2041

Primary

70

Projects

Secondary

50

We reply within a day.

Tertiary

40

you@studio.com

Muted

20

/ · /

Faint

Statescolor.md

Hover · current · on

Overview
Projects
Invoices
Settings
Hover 7 · Current 10 · Onwhite / zinc-100
Borderscolor.md

Four steps, 1px

10 · field, panel
15 · button
25 · checkbox, radio
Always 1px10 · 15 · 25 · 40
Statuscolor.md

Colour only for status

Error

Enter an e-mail like name@studio.com.

Warning

Your plan renews in 3 days.

Success

Changes saved.

Text, dot, icon, 1px bordernever a fill
02 — Typography

Eight roles, no improvising.

Size, weight, line height, tracking and colour come as a set. Pick a role, never a size.

Weights400 · 500 · 600

Three weights

Aa
400500600
Inherited font, three weightsno bold, no light
Rolestypography.md

Every text in a component is one of these

Projects2xl/3xl · 600 · −0.03
Delete project?base · 600 · snug
Email addresssm · 500 · 5
Save changessm · 500 · none
Brand identitysm · 400 · 5
This removes all files.sm · 400 · relaxed
We reply within a day.xs · 400 · /50
Workspace11 · 500 · 0.14em
Leadingnone · 5 · relaxed

Line height

none

Save changes

5

Brand identity

relaxed

This removes the project and all of its files for everyone.

Line height by rolecontrols tight, prose relaxed
Trackingem

Letter spacing

Workspace

Projects

Body copy stays at 0.

With trackingcaps +0.14 · titles −0.03
Numberstabular-nums

Figures line up

proportional

€1,111

tabular-nums

€1,111

Changing numbers don't jumptabular-nums
03 — Shape

Five heights. Seven radii.

Every interactive element snaps to the same scales, so a screen built from thirty pieces still lines up.

Heightssizing.md

Anything you can click has one of five heights

28px
Design
36px
New
40px
Projects
44px
Save changes
48px
you@studio.com
Real sizeno h-8, no h-10 buttons
Radiussizing.md

One scale

5
  • rounded-[5px]Checkbox
  • rounded-mdChip, tile
  • rounded-lgRow, tooltip
  • rounded-[12px]Field, panel
  • rounded-[16px]Dialog, toast
  • rounded-[20px]Shell panel
  • rounded-fullButton, pill
Nestingsizing.md

Inner radius follows padding

Profile
Alerts
Security
128
12 − 4 = 8inner = outer − padding
Spacingsizing.md

The 4px scale

4
6
8
10
12
16
20
24
32
4px stepsno gap-[7px], no mt-3.5
Elevationelevation.md

Three layers

Flat
Panel
Overlay
Flatnone · no z
04 — Icons

One family, one stroke.

Lucide geometry drawn inline on a 24 grid at 1.8. No icon library and no hand-drawn lookalikes.

SetviewBox 0 0 24 24

Drawn in, at 20px

Lucide geometry, drawn inline20px · stroke 1.8
Anatomyiconography.md

On the grid

Grid
24
Stroke
1.8
Caps
round
Fill
none
Sizes14 · 16 · 20

Size follows context

Design 14 · inside a chip
New project16 · default
20 · navigation
Marksdata-mark

Not every svg is an icon

Tick
Dot
Spinner
Wave
Marks keep their own geometry<svg data-mark>
05 — Motion

Two curves, three speeds.

Everything eases out fast and settles softly. Exits are quicker than entries. Nothing lifts or scales on hover.

Curvescubic-bezier

Enter and exit

Enter / move0.22, 1, 0.36, 1
Exit0.4, 0, 1, 1
Durations150 · 300 · 500

Shown at real speed

150msRows, list items
300msColour, toggles
500msLong travel
Panelsmotion.md

Every floating list opens the same way

Pick a service
in 160ms · y −4 · scale .98out 180ms · blur 4
Springframer-motion

Indicators slide on one spring

Overview
Activity
Settings
Overview
Activity
Settings
Overview
Activity
Settings
One spring for every indicatorduration 0.3 · bounce 0.15
06 — States & behaviour

Nine states. Same keys.

Every control designs all nine states, and every list answers to the same keys. Focus always goes back where it came from.

Statespatterns.md

A missing state is a bug

Default
Invite
border 15
Hover
Invite
border 40 · bg 10
Pressed
Invite
bg 15 · no scale
Focus
Invite
outline 1.5 · offset 2
Selected
Invited
on fill
Disabled
Invite
opacity 50
Loading
Invite
spinner, same width
Error
anna@Add a domain.
errorColor, no shake
Empty
No results
one muted line
Keyboardpatterns.md

↑ ↓ to move, Enter to pick, Esc to close

Choose a plan
Starter
Studio
Agency
Enterprise
↑↓HomeEndEnterEscTab
Esc and Enter return focus to the triggerroving · type-ahead
Placementpatterns.md

Flips above near the edge

Status
Active
Paused
Archived
Below, 6px gapmt-1.5 · max-h-72
Propsapi.md

Same names, everywhere

// every form component
value / defaultValue / onChange(value)
open / defaultOpen / onOpenChange(open)
label · helperText · error · placeholder
disabled · required · name · id · className
height 48 · radius 12 · errorColor #ef4444
AccessibilityARIA

Real roles, real elements

listbox · optionselects, comboboxes
menu · menuitemdropdown menus
dialog · aria-modaldialogs, sheets
tab · tabpaneltabs, segments
switchtoggles
aria-activedescendantkeyboard row
aria-busyloading
36px hit areatouch
07 — Content

Words are part of the design.

English, plain ASCII, sentence case. Buttons say what happens, errors say how to fix it, empty states say what to do.

Copycontent.md

Do and don't

Buttons
Save changes
OK
Verb first, says what happens
Labels
Email address
Email Address:
Sentence case, no colon
Errors
Enter an e-mail like name@studio.com.
Invalid input
Say how to fix it
Empty
No projects yet. Create one to get started.
Nothing here
What's missing + what to do
08 — Live

Not a mock-up.

These are the real library components, straight from the catalogue. Click, type and tab through them.

Text fieldtext-field

We reply within one working day.

Selectselect-field

Service

You can change it later.

Switchtoggle-switch
Checkboxcheckbox-group
Notifications

Choose what we e-mail you about.

You can change this any time in your settings.

Tabssliding-tabs

Overview

A single place for everything your team ships. Follow releases as they move from draft to production and see what changed at a glance.

09 — The gate

A script holds the line.

Rules on paper drift. Every component has to pass the checker before it ships, and a value that isn't in the table means someone asks first.

check:componentsscripts/check-components.mjs

Zero violations or it doesn't ship

$ npm run check:components select-field

select-field.tsx — 2 (icons 1, type 1)

:453 [icons] strokeWidth 2.6 — icons use 1.8

:615 [type] text-white/55 — text ladder is 100 / 70 / 50 / 40 / 20

~ fix: strokeWidth="1.8", text-white/50

0 violation(s) in 0 of 1 file(s). Clean: select-field

Done means

Before it ships

  1. 10 violations from the checker
  2. 2Light and dark, open and closed
  3. 3Keyboard-only pass
  4. 4Side by side with its sibling

The one rule above all

Not in the table? Ask.

Browse components