Tipografia

A escala de tipo completo - 13 estilos de Large Title (64px) para baixo até a legenda 2 (11px), cada um em quatro pesos, definido em Inter e mapeado 1:1 para os estilos de texto Figma.

Como funciona o sistema

Cada estilo é um token composto: uma classe, como text-body-medium define o tamanho da fonte, a altura da linha, o espaçamento de letras e o peso juntos, definidos em styles/typography.cssTu nunca combinas text-sm com font-medium e leading-5 à mão - um único token garante as métricas exatas que o estilo de texto Figma especifica.

O nome é text-{family}-{weight} - 13 famílias × 4 pesos (Regular 400, Médio 500, Semibold 600, Negrito 700). A cor é aplicada separadamente com as fichas de texto semântico, de modo que uma etiqueta típica lê text-body-medium text-text-secondary: uma classe para as métricas, uma para a cor.

Porque estas aulas vivem no text-* namespace, eles estão registrados com cx() (o nosso invólucro de mistura de caudas) como utilitários de tamanho de fonte - caso contrário, uma mesclagem com uma classe de cores iria deixá- los cair silenciosamente. Se adicionar ou renomear um estilo, espelha- o em utils/cx.ts.

Título Grande

64px / 80px

Hero numerals and marketing-scale headings.

The five boxing wizards jump quickly.

text-large-title-regularRegular · 400

The five boxing wizards jump quickly.

text-large-title-mediumMedium · 500

The five boxing wizards jump quickly.

text-large-title-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-large-title-boldBold · 700

Visualização 1

56px / 72px

Full-page hero headings.

The five boxing wizards jump quickly.

text-display-1-regularRegular · 400

The five boxing wizards jump quickly.

text-display-1-mediumMedium · 500

The five boxing wizards jump quickly.

text-display-1-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-display-1-boldBold · 700

Tela 2

48px / 64px

Large section heroes.

The five boxing wizards jump quickly.

text-display-2-regularRegular · 400

The five boxing wizards jump quickly.

text-display-2-mediumMedium · 500

The five boxing wizards jump quickly.

text-display-2-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-display-2-boldBold · 700

Tela 3

40px / 54px

Prominent stats and page heroes.

The five boxing wizards jump quickly.

text-display-3-regularRegular · 400

The five boxing wizards jump quickly.

text-display-3-mediumMedium · 500

The five boxing wizards jump quickly.

text-display-3-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-display-3-boldBold · 700

Tela 4

32px / 44px

Page titles; the largest style used inside the app shell.

The five boxing wizards jump quickly.

text-display-4-regularRegular · 400

The five boxing wizards jump quickly.

text-display-4-mediumMedium · 500

The five boxing wizards jump quickly.

text-display-4-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-display-4-boldBold · 700

Título 1

24px / 34px

Card headline figures (step totals, earnings).

The five boxing wizards jump quickly.

text-title-1-regularRegular · 400

The five boxing wizards jump quickly.

text-title-1-mediumMedium · 500

The five boxing wizards jump quickly.

text-title-1-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-title-1-boldBold · 700

Título 2

20px / 26px

Section headings inside pages and panels.

The five boxing wizards jump quickly.

text-title-2-regularRegular · 400

The five boxing wizards jump quickly.

text-title-2-mediumMedium · 500

The five boxing wizards jump quickly.

text-title-2-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-title-2-boldBold · 700

Título 3

18px / 24–26px

Sub-section headings, calendar month titles.

The five boxing wizards jump quickly.

text-title-3-regularRegular · 400

The five boxing wizards jump quickly.

text-title-3-mediumMedium · 500

The five boxing wizards jump quickly.

text-title-3-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-title-3-boldBold · 700

Cabeçalho

16px / 22px

Emphasized body copy and lead paragraphs.

The five boxing wizards jump quickly.

text-headline-regularRegular · 400

The five boxing wizards jump quickly.

text-headline-mediumMedium · 500

The five boxing wizards jump quickly.

text-headline-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-headline-boldBold · 700

Corpo

14px / 20px

The default UI text: labels, table cells, nav items.

The five boxing wizards jump quickly.

text-body-regularRegular · 400

The five boxing wizards jump quickly.

text-body-mediumMedium · 500

The five boxing wizards jump quickly.

text-body-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-body-boldBold · 700

Corpo 2

13px / 18px

Dense contexts: compact tables, secondary descriptions.

The five boxing wizards jump quickly.

text-body-2-regularRegular · 400

The five boxing wizards jump quickly.

text-body-2-mediumMedium · 500

The five boxing wizards jump quickly.

text-body-2-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-body-2-boldBold · 700

Legenda 1

12px / 16px · tracking 0.15px

Axis labels, unit suffixes, timestamps.

The five boxing wizards jump quickly.

text-caption-1-regularRegular · 400

The five boxing wizards jump quickly.

text-caption-1-mediumMedium · 500

The five boxing wizards jump quickly.

text-caption-1-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-caption-1-boldBold · 700

Legenda 2

11px / 15px · tracking 0.2px

The smallest legible annotations (badges, fine print).

The five boxing wizards jump quickly.

text-caption-2-regularRegular · 400

The five boxing wizards jump quickly.

text-caption-2-mediumMedium · 500

The five boxing wizards jump quickly.

text-caption-2-semiboldSemibold · 600

The five boxing wizards jump quickly.

text-caption-2-boldBold · 700