Command Palette

Search for a command to run...

Label

Renders an accessible label associated with form controls.

Installation

npx shadcn add label --registry https://ui.ch.sh/r

Usage

import { Label } from "@/components/ui/label"

export default function Example() {
  return <Label htmlFor="name">Name</Label>
}