UIComponentsReact
The name of a form control.
Rendered by React 19.3.1
Installation
npx shadcn@4.23.0 add https://hamur.dev/r/react/label.jsonIt also adds utils. The app needs its setup first: Installation.
Usage
Point it at its control with for (htmlFor in React). Inside a Field, use FieldLabel, which the Field wires up.
import { Label } from '@/components/ui/label'Examples
API reference
Label wraps no headless component of its own: its parts are elements with classes, and their props are the element's.