Label

Renders an accessible label associated with controls.

The Label component provides accessible labels for form controls. It properly associates labels with their inputs for screen readers and improves usability. Built from scratch using React and native HTML elements. No dependencies on any UI library.

Quick Install

Install via shadcn/ui CLI

Examples

With Checkbox

With Input

With Disabled Input