Skip to main content
⌘K

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

Revenue

€12,480

Up 8% on November

Lessons

214

31 still to confirm

StudentStatusLessonsTotal
Inês Carvalho
Paid3€135.00
Margarida Sousa Albuquerque de Vasconcelos
Draft11€495.00
Tom Hughes
Due2€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.

StyleSizeWeightClassJobUses
Small12/16400Hints, captions, table meta101
Small medium12/16500Badges, small buttons19
Body13/16400Everything you read in the app209
Reading13/20400Text of two lines or more1
Medium13/16500Labels, buttons, card titles67
Page title13/16500Page header title1
Title16/24500Dialog and sheet titles19
Figure16/20500Stat cards, totals2
Heading18/24500Page headings in Blocks3
Display32/36500Marketing heroes, -0.02em5
Display large40/40500The one hero line0

Faces

Inter--font-sans

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 € £ % & ( ) ? !ã ç é õ ü ß ø

Words: every label, title and paragraph. Latin, 400 and 500 only.

Geist Mono--font-mono

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

Proportional, the Inter default. The ones are narrow, so columns wobble.

€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

Margarida Sousa Albuquerque de Vasconcelos€495
TruncateLine

When 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

truncate

65 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.
DoTitle at 13 medium, the description in muted 13, buttons at 13 medium. One size does it.

Cancel booking

Tomás will get a full refund of €90.00 within 5 days.

Don'tThree sizes, four weights, caps with tracking and italics inside a card. The eye has nowhere to land, and 600, 700 and 800 are not part of the system.

Rules

  1. 1Use 13 for reading and 12 for meta. Reach for a bigger style only for a figure or a hero.
  2. 2Reading, 13 on 20, for text of two lines or more.
  3. 3Two weights. 500 marks what you act on or scan for; 400 is everything else.
  4. 4Secondary text is muted-foreground, never a smaller size of the same thing.
  5. 5Tabular figures for anything in a column or anything that changes live.