Usage
import { Label } from "@desk/ui/components/label";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