Components

Label

An accessible label for a form control.

Installation

npx shadcn@latest add @blank/label

Usage

import { Label } from "@/components/ui/label"
<Label htmlFor="email">Email</Label>

Examples

With a checkbox

A label that follows a disabled control as its sibling dims with it. For anything beyond a one-off, use Field.