Label
Use the label component to add contextual metadata to a design.
On this page
Work in progressWe are currently transferring the Rails documentation for Label from a different site to this page. To view the original documentation, please visit the Primer ViewComponents documentation for Label.
v0.1.5BetaNot reviewed for accessibility
Description
Use Label
to add contextual metadata to a design.
Arguments
Name | 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 | N/A | Hash |