Label
A text label for form controls.
label-demo.app
Installation
terminal.sh
npx y2kui@latest add labelUsage
import { Label } from "@/components/ui/label"
<Label htmlFor="email">Email</Label>Props
| Prop | Type | Default | Description |
|---|---|---|---|
htmlFor | string | — | ID of the associated form control. |
className | string | — | Additional Tailwind classes. |
children | ReactNode | — | Label content. |