Label
Use the label component to add contextual metadata to a design.
On this page
v0.35.1BetaNot reviewed for accessibility
Description
Use Label
to add contextual metadata to a design.
Accessibility
Use aria-label
if the Label
or the context around it don't explain the label.
Arguments
Name | Type | Default | Description |
---|---|---|---|
tag | Symbol |
| One of |
scheme | Symbol |
| One of |
size | Symbol |
| One of |
inline | Boolean |
| Whether or not to render this label inline. |
variant | Symbol |
| One of |
system_arguments | Hash | N/A |