Content
Prose
Running text at reading width inside any container, with the spacing between its paragraphs.
- Experimental
- No keyboard interaction
- Screen reader not tested yet
Playground
An AI builds screens from the system, and a gate checks them. A person looks at every result and decides what stays.
<Prose>
<p>
An AI builds screens from the system, and a gate checks them. A person looks at every result and decides what stays.
</p>
</Prose>Usage
When to use
Use Prose for every block of running text inside a wide Section: an introduction, an explanation, a closing paragraph.
When not to use
- For a single label or a card text: they have their own width.
- For a list of points: use List inside Prose.
How it works
Body type at the reading width (layout.narrow), with 16px between paragraphs. lead sets it in the secondary colour for the first paragraph under a heading.
Content guidelines
Short paragraphs, one thought each. If the text needs a second heading, it belongs in a second Section.
Do and don’t
- Wrap every block of running text in a wide Section in Prose.
- Don't use it for labels, cards or table cells; they have their own width.
Anatomy
- bodyBody type, at most layout.narrow wide, 16px between paragraphs.
Examples
Lead and text
An AI builds screens from the system, and a gate checks them. A person looks at every result and decides what stays.
Every finding is fixed at its cause. Nothing is suppressed or excluded to get to green.
Gaps the AI reports become the next additions to the system.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| children (required) | ReactNode | – | Paragraphs, lists and links. |
| lead | boolean | false | Quieter, for the first paragraph under a heading. |
Tokens used
| Token | Tier | Value | Utility |
|---|---|---|---|
| layout.narrow | semantic | 720px | |
| spacing.4 | semantic | 16px | |
| text.primary | semantic | #0A0A0B | |
| text.secondary | semantic | #555555 | |
| type.body.size | semantic | 16px | |
| type.lead.size | semantic | 18px |
Accessibility
| Check | How | Status |
|---|---|---|
| axe-core rules | Automated on every npm run check, at desktop and mobile width | Runs on every build |
| Keyboard | Automated Playwright test (scripts/keyboard.mjs) | Not applicable |
| Screen reader | Manual | Not tested yet |
Semantics and focus
- Keeps lines at about 70 characters, easier to read and to zoom.