Skip to Content

label

ui

Renders an accessible label associated with controls.

Use cases

  • Form field labels
  • Checkbox/radio labels
  • Accessible input labeling

Features

  • Automatically associates with form controls
  • Peer-disabled styling
  • Built on Radix Label

Preview

Interactive preview with light/dark mode toggle. Switch to Code tab to view the full source.

Installation

npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/label

Dependencies

radix-ui

API

Fetch this component's metadata and source code from the registry API.

GET/api/v1/ui/label

Source

components/ui/label.tsx