Label
A component that renders an accessible label associated with input fields.
In this guide, you'll learn how to use the Label component.
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 helpful?
Examples#
Label Sizes#
Was this example helpful?
Label with Form Inputs#
Was this guide helpful?