ComponentClient component
Label
An accessible label associated with a form control.
Installation
Preview
Usage
tsx
import { Label } from "@/components/ui/label"
<Label htmlFor="email">Email</Label>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Overrides or extends the generated Tailwind classes. |
disabled | boolean | false | Prevents user interaction when supported. |