Search
Search pages, pieces and blocks.
Type
Inter for words, Geist Mono for code. Two weights, 400 and 500. Eleven styles exist, but app screens are built from two sizes, 13 and 12; the rest are for titles, figures and heroes.
- Faces
- Inter, Geist Mono
- Weights
- 400, 500
- Body
- 13/16
In a real piece
A bookings page header, two stat cards and a table. Hover a style to find it.
6 styles, 2 weights, 1 colour step for secondary text.
- 12Small12/16, 400
- 12Small medium12/16, 500
- 13Body13/16, 400
- 13Medium13/16, 500
- 13Page title13/16, 500
- 16Figure16/20, 500
Bookings
December, all schools
€12,480
Up 8% on November
214
31 still to confirm
| Student | Status | Lessons | Total |
|---|---|---|---|
Inês Carvalho | Paid | 3 | €135.00 |
Margarida Sousa Albuquerque de Vasconcelos | Draft | 11 | €495.00 |
Tom Hughes | Due | 2 | €90.00 |
Styles
Every style in globals.css and the classes that make the rest. Uses count class strings in src. Click a class to copy it.
| Style | Size | Weight | Class | Job | Uses |
|---|---|---|---|---|---|
| Small | 12/16 | 400 | Hints, captions, table meta | 101 | |
| Small medium | 12/16 | 500 | Badges, small buttons | 19 | |
| Body | 13/16 | 400 | Everything you read in the app | 209 | |
| Reading | 13/20 | 400 | Text of two lines or more | 1 | |
| Medium | 13/16 | 500 | Labels, buttons, card titles | 67 | |
| Page title | 13/16 | 500 | Page header title | 1 | |
| Title | 16/24 | 500 | Dialog and sheet titles | 19 | |
| Figure | 16/20 | 500 | Stat cards, totals | 2 | |
| Heading | 18/24 | 500 | Page headings in Blocks | 3 | |
| Display | 32/36 | 500 | Marketing heroes, -0.02em | 5 | |
| Display large | 40/40 | 500 | The one hero line | 0 |
Faces
Aa
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 € £ % & ( ) ? !ã ç é õ ü ß ø
Words: every label, title and paragraph. Latin, 400 and 500 only.
Aa
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 { } [ ] < > = /--size-row: 28px;
Code and tokens. 10 uses of font-mono: code blocks, the copy field, chart values, key hints, the licences, the clock and a booking reference.
Numbers
Anything that is counted, priced or compared uses tabular figures.
€1,111.11
€888.80
€11,171.10
€40.00
€1,111.11
€888.80
€11,171.10
€40.00
tabular-numsEvery figure is one width, so columns line up and live values do not jitter. 67 uses.Truncation
Long text gives way, the layout does not. Truncate in rows; never wrap a button or a tab.
One line, full text on hover
TruncateLineWhen cut, a Tooltip shows the rest and the line joins the Tab order.
A few lines, then Show more
Meet at the blue lifeguard tower at 8:45. Parking is on the street above the beach, free before 10:00, and the boards wait at the school van.
Truncate lines={2}Show more appears only when the text is longer.
Never inside a control
truncate65 uses, on rows, names, titles and field values. Button and Tabs never cut their label.
Do and don't
Hierarchy comes from weight and colour, not from size, case or more weights.
Cancel booking
Tomás will get a full refund of €90.00 within 5 days.
Rules
- 1Use 13 for reading and 12 for meta. Reach for a bigger style only for a figure or a hero.
- 2Reading, 13 on 20, for text of two lines or more.
- 3Two weights. 500 marks what you act on or scan for; 400 is everything else.
- 4Secondary text is muted-foreground, never a smaller size of the same thing.
- 5Tabular figures for anything in a column or anything that changes live.