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

PropTypeDefaultDescription
classNamestringOverrides or extends the generated Tailwind classes.
disabledbooleanfalsePrevents user interaction when supported.