Skip to content

Label

An uppercase mono caption for form controls. Pairs with Input, Textarea, and Checkbox; dims when its peer control is disabled.

import { Label } from "@/components/ui/label"
<Label htmlFor="name">project name</Label>

All native <label> attributes are supported — set htmlFor to the control’s id to wire them together.