Renders an accessible label associated with controls.
import { Label } from "@/registry/ui/label"
export default function LabelDemo() {Installation
pnpmnpmyarnbun
Usage
import { Label } from "@/components/ui/label"<Label htmlFor="email">Email</Label>Examples
With Input
import { Input } from "@/registry/ui/input"
import { Label } from "@/registry/ui/label"
With Checkbox
import { Checkbox } from "@/registry/ui/checkbox"
import { Label } from "@/registry/ui/label"