Version v3 Documentation
You are viewing documentation for an older version.
View latest (v4) documentation →
Label
A headless label primitive that properly associates labels with form controls.
With Input
Label associated with an Input field via the For parameter.
Loading example…
With Checkbox
Label paired with a Checkbox control. Clicking the label toggles the checkbox.
Loading example…
Required Field
Label indicating a required field with a red asterisk inside the label content.
Loading example…
With Description
Label with helper text below the form control to provide additional context.
Loading example…