Typography
Text
Renders accessible body paragraphs with consistent typographic scale and wrapping.
Usage
Examples
Release notes
Recommendations
| Guidance | Practice |
|---|---|
| Do | Use body for prose, ui for dense interface text, and caption for metadata. Set tone="muted" for supporting text; muted ink keeps readable contrast at every size. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Heading for headings and Label for controls. Text renders body paragraphs. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | "body" | Sets the type role: body for prose, ui for dense interface text, caption for metadata. |
| | "muted" for caption, otherwise "default" | Sets the ink. Use muted for supporting text such as descriptions and metadata. |
| | — | Text or phrasing content. |