Components
Label
Renders an accessible label element that can be associated with form controls.
Usage
Best practices
Point
htmlForat the control'sidso clicking the label focuses/toggles it; aLabelwith no association is just styled text.For checkbox/radio rows and fields, prefer
CheckboxField/FieldLabel/RadioGroupItem, which generate theid/htmlForpairing for you.
Props
Also exports
- component
Label