Label

The Label component is used to add contextual metadata to a design. Visually it styles text, adds padding, and rounded corners.

Default example

Default labelLabel with custom backgroundDefault outline label

System props

Label components get COMMON system props. Read our System Props doc page for a full list of available props.

Component props

NameTypeDefaultDescription
outlineBooleanCreates an outline style label
variantString'medium'Can be one of small, medium (default), large or xl .
dropshadowBooleanAdds a dropshadow to the label
bgString'gray.5'Part of the COMMON system props, used to change the background of the label.
Edit this page on GitHub
2 contributorsBinaryMuseemplums
Last edited by BinaryMuse on October 8, 2019