# Typography Beyond the bare headings and paragraphs, a small set of helper classes covers display type, supporting text, long-form prose, link treatments, and text trimming. This is `typography.css` in `@layer base`. ## Display type `.display` is oversized headline type (`--text-6xl`, semibold, very tight leading and tracking) for hero headlines that should read bigger than an `

`. `.display.is-celebrate` bumps it one step larger (`--text-7xl`) for landing-page moments. ```html

Ship it today

Welcome aboard

``` ## Supporting text - `.lede`: a larger, relaxed intro paragraph in `--ink-soft`, for the sentence under a headline. - `.eyebrow`: a small uppercase, wide-tracked label in `--ink-dim`, for the kicker above a heading. ```html

Pricing

Simple, per-seat

Everything your team needs, one price.

``` ## Prose `.prose` is the long-form container for editorial content, such as docs, blog posts, anything with mixed headings, paragraphs, and lists. It sets a comfortable measure and, unlike bare lists, **restores list markers** (discs and decimals) and vertical rhythm between blocks. Apply it to the wrapper around flowing content: ```html

Getting started

Elements apps are built from pages…

``` It manages spacing between children (`* + *`), tighter spacing after headings, and generous space before `h2`/`h3`, so you don't hand-tune margins inside prose. ## Link classes Three link treatments for use outside `.prose`, where bare `` is deliberately plain: | Class | Look | |---|---| | `.link-prose` | Underlined accent link (the in-prose default treatment) | | `.link-action` | Medium-weight accent link, no underline until hover | | `.link-muted` | Quiet `--ink-soft` link that brightens to `--ink` on hover | ```html Read the docs Terms ``` ## Clamping and truncation - `.line-clamp-1` … `.line-clamp-6`: clamp text to N lines with an ellipsis. - `.truncate`: clamp to a single line with an ellipsis (no wrapping). ```html

A long description that stops after three lines…

a/very/long/path/that/gets/cut.txt
``` ## Text wrapping - `.text-balance`: balances line lengths (`text-wrap: balance`), best for headings. - `.text-pretty`: avoids orphans (`text-wrap: pretty`), best for paragraphs. Both are also available as utilities (see [utilities](utilities)).