Core / Typography
Caption
Small contextual text for media, metadata, or input help.
Preview
Default captionMuted context
Usage
<Caption tone="muted">Updated today</Caption>Adopt to your project
Typography inherits your application’s font choices. Use semantic props for hierarchy, then use className for local spacing and visual adaptation without changing the component’s meaning.
Accessibility
Use Heading levels in document order. Use Label with htmlFor for form controls, and keep captions and quotes as supporting—not primary—content.
API reference
| Attribute | Details |
|---|---|
as | p | span — default: span |
tone | default | muted | error | success — default: muted |
children | ReactNode |
className | string |