Components
Checkbox
A control for selecting one or multiple options.
Installation
npm install @mijn-ui/react-checkboxUsage
import { Checkbox } from "@mijn-ui/react-checkbox"<Checkbox />API Reference
Built on Radix UI — all underlying primitive props are forwarded in addition to the props below.
| Prop | Type | Default | Description |
|---|---|---|---|
unstyled | boolean | false | Opt out of the default styles to fully customize the component. |
classNames | object | — | Override classes per slot (see Style Slots below). |
className | string | — | Additional classes for the root element. |
Checkbox Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Checkbox | Styles the root checkbox component. |
indicator | Checkbox | Styles the checkbox indicator. |
icon | Checkbox | Styles the icon inside the checkbox. |