Label
Names a form control. Click the label to focus its field.
components/ui/label.tsx
Preview
Code
Installation
npx betterone-ds add labelProps
| Prop | Type | Default |
|---|---|---|
| htmlFor | string | — |
Accessibility
- Every input needs a label. Match htmlFor to the input id.

