Label
readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
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 | Required | 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 |