Docs
Label

Label

Label component is an essential element for rendering accessible labels associated with form controls. It plays a crucial role in enhancing the usability and accessibility of user interfaces by providing a clear and descriptive label for associated input fields, checkboxes, radio buttons, and other form elements. The Label component ensures that users, including those who rely on assistive technologies, can easily understand the purpose of form controls, contributing to a more inclusive and user-friendly web experience.

Installation

yarn add @camped-ui/label

Usage

import { Label } from "@camped-ui/label";
<Label htmlFor="email">Your email address</Label>