marclayuiv0.4.0
Components

Checkbox

An inset well that fills with a primary gradient and a clay tick when checked — plus an indeterminate dash for tree states. The native input stays in the DOM, so keyboard, forms and screen readers all work.

tsx
import { Checkbox, CheckboxGroup } from "marclayui";

States

Indeterminate

Group with select-all

PropTypeDefaultDescription
labelReact.ReactNode—Clickable label rendered next to the box.
indeterminatebooleanfalseDash state — set on the native input via ref.
…restInputHTMLAttributes—All native checkbox attributes (checked, onChange, disabled…).
CheckboxGroup · optionsCheckboxGroupOption[]—{ value, label, disabled? } list.
CheckboxGroup · value / defaultValuestring[]—Controlled or uncontrolled selected values.
CheckboxGroup · selectAllbooleanfalseParent checkbox that toggles every enabled option, with indeterminate when partial.