Components
A text label for form controls.
Installation
npm install @mijn-ui/react-labelUsage
import { Label } from "@mijn-ui/react-label"<Label htmlFor="email">Your email address</Label>Lable Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Label | Styles the label component. |
API Reference
Built on Radix UI — all underlying primitive props are forwarded in addition to the props below.
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional classes for the root element. |