- Get Started
- Product
- Resources
- Tools & SDKs
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Reference
Label
Renders an accessible label associated with controls.
Was this example helpful?
Usage#
API Reference#
This component is based on the Radix UI Label primitive.
Prop | Type | Default |
---|---|---|
size | "xsmall" | "small" | "base" | "large" | "base" |
weight | "regular" | "plus" | "regular" |
Was this page helpful?
Examples#
Base Regular#
Was this example helpful?
Base Plus#
Was this example helpful?
Large Regular#
Was this example helpful?
Large Plus#
Was this example helpful?
Small Regular#
Was this example helpful?
Small Plus#
Was this example helpful?
X-Small Regular#
Was this example helpful?
X-Small Plus#
Was this example helpful?