Prose
Prose
Scoped typography container for uncontrolled markup. All selectors use :where() — block components inside override naturally.
basic — p only
This is a basic prose block. Only paragraphs — no headings, lists, or inline formatting. Intended for excerpts, summaries, and constrained text areas.
Second paragraph. Last child has no bottom margin.
default — full prose
Heading level 2
Standard prose content with bold text, italic text,bold italic, and a link. Paragraph spacing usesmargin-block-end: 1em.
Heading level 3
Followed by a list:
- First item
- Second item with more text to show line wrapping behaviour across multiple lines
- Third item
- Ordered first
- Ordered second
A blockquote with a left border and reduced opacity. Good for pull quotes inside body content.
Inline code snippet sits within a paragraph.
rich — extended
Rich prose adds tables, figures, pre, hr
Everything from default, plus extended elements.
// code block
const greeting = "hello";
console.log(greeting);| Variant | Elements allowed |
|---|---|
| basic | p |
| default | p, h1–h6, ul, ol, a, strong, em, code, blockquote |
| rich | all of default + pre, table, figure, hr |
Size axis
size="sm"
Body text at sm size. The quick brown fox jumps over the lazy dog.
- List item one
- List item two
size="md"
Body text at md size. The quick brown fox jumps over the lazy dog.
- List item one
- List item two
size="lg"
Body text at lg size. The quick brown fox jumps over the lazy dog.
- List item one
- List item two
This file verifies: Regular (400), Italic (400), SemiBold (600), SemiBold Italic (600 italic), Latin‑1 coverage, punctuation, fractions, currency, and spacing characters.