You are viewing docs for v2. Switch to latest
Docs
Label

Label

Renders an accessible label associated with controls.

Installation

pnpm dlx shadcn@latest add label

Usage

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