Components

A text label for form controls.

Installation

npm install @mijn-ui/react-label

Usage

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

Lable Style Slots

Slot NameTargeted ComponentPurpose
baseLabelStyles the label component.

API Reference

Built on Radix UI — all underlying primitive props are forwarded in addition to the props below.

PropTypeDefaultDescription
classNamestringAdditional classes for the root element.