Label
Renders an accessible label associated with controls.
Installation
›pnpm dlx shadcn@latest add @evolphin/label
Usage
import { Label } from "@/components/ui/label";<Label htmlFor="email">Your email address</Label>Examples
Default
API Reference
Label
| Prop | Type | Default | Description |
|---|---|---|---|
htmlFor | string | - | The ID of the element the label is associated with. |
className | string | - | Additional CSS classes |