Caption (code)
A Caption is meant to be an extra textual illustration of a concept.
Props
System Props
System Props
Next to the properties listed in the propstable, a collection of system props can be added to any component for further general styling and layouting purposes. These props vary per component.
To read more about the system, click here to check out its dedicated page.
Color
You can change the caption's color by passing in a defined color name.
Decoration
Controls the text-decoration css attribute.
FontFamily
Font-families can be used to discern between multiple uses of a Caption.
FontWeight
Controls the font-weight css attribute. Only 3 values are available. If a value is missing, it will fallback on the more bold weight.
Level
Captions of lower importance can be displayed by altering the prop.
TextAlign
Controls the css text-align attribute.