Caption
Small secondary text: a hint under a control, or a label in a Row. `text` can have inline markdown.
Examples
Loading examples…
Props
| Prop | Type | Description |
|---|---|---|
text | string | number | Caption text |
color | string | One of default|prose|primary|emphasis|secondary|tertiary|success|info|warning|caution|danger|discovery or a CSS color |
size | "sm" | "md" | "lg" | Default "lg" |
fontWeight | "normal" | "medium" | "semibold" | "bold" | Default "normal" |
textAlign | "start" | "center" | "end" | |
truncate | boolean | |
maxLines | number |