Docs
Label

Label

Renders an accessible label associated with controls.

Installation

npx shadcn-ui add label
npx shadcn-ui add label

Usage

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