Talisman LogoTalisman Logo Design System
Browse documentation
Foundations

Typography

The type scale and the rules for building hierarchy with the Typography component.

Use the Typography component from @repo/ui/typography for every visible string. Do not use raw <h1>–<h6> or <p> with hand-written classes.

import { Typography } from "@repo/ui/typography";

<Typography variant="headingMd">Prazos da semana</Typography>
<Typography className="text-secondary" variant="paragraphSm">
  Atualizado há 5 minutos
</Typography>

Hierarchy

Layer Variant When to use
Page headingLg One per route: the visible page title.
Section headingMd Groups inside a page.
Card or sub-section headingSm Cards, dialog titles, sidebar groups.
Inline header headingXs Nested groups inside cards.
Body paragraphMd Default copy.
Helper paragraphXs Hints, captions, descriptions under inputs.
Control label labelSm Inputs, table column headers, buttons.
Stat bigNumberLg Dashboard KPIs.

Rules

  • Do not skip heading levels: page, section, card, inline. Skipping breaks the document outline for assistive technology.
  • Do not restyle headings with utility classes. Pick a different variant.
  • Use as only to keep semantics correct, for example headingMd styles on an <h1>.
  • Keep paragraphs around 70–80 characters per line, for example with max-w-prose.
  • Use display* only in empty states and onboarding moments, never inside dense backoffice screens.

Scale

Each row renders the real component in Geist, the font the product apps load.

Display

displayXlEnter
displayLgEnter
displayMdEnter
displaySmEnter
displayXsEnter

Heading

headingLgContestação pronta para revisão
headingMdContestação pronta para revisão
headingSmContestação pronta para revisão
headingXsContestação pronta para revisão

Eyebrow

eyebrowLgTarefas em andamento
eyebrowMdTarefas em andamento
eyebrowSmTarefas em andamento
eyebrowXsTarefas em andamento

Label

labelLgSalvar alterações
labelMdSalvar alterações
labelSmSalvar alterações
labelXsSalvar alterações
labelXxsSalvar alterações

Paragraph

paragraphLgA petição inicial foi recebida e os documentos foram classificados automaticamente.
paragraphMdA petição inicial foi recebida e os documentos foram classificados automaticamente.
paragraphSmA petição inicial foi recebida e os documentos foram classificados automaticamente.
paragraphXsA petição inicial foi recebida e os documentos foram classificados automaticamente.
paragraphXxsA petição inicial foi recebida e os documentos foram classificados automaticamente.

Code

codeLgconst total = 1284;
codeMdconst total = 1284;
codeSmconst total = 1284;
codeXsconst total = 1284;
codeXxsconst total = 1284;

Big number

bigNumber5xl1.284
bigNumber4xl1.284
bigNumber3xl1.284
bigNumber2xl1.284
bigNumberXl1.284
bigNumberLg1.284
bigNumberMd1.284
bigNumberSm1.284
bigNumberXs1.284
Edit this page on GitHub