Component

Label

Accessible form-field label with peer-disabled styling.

Pair with any native or custom input for proper a11y semantics.

Install from registry

npx shadcn@latest add https://ui.comcreate.io/r/label.json

Shadcn-compatible registry endpoint served locally for copy-paste installs.

Installed files

  • components/ui/label.tsx
  • lib/utils.ts