Animate UI

Checkbox

An easily stylable checkbox component.

Made by imskyleen
Edit on GitHub

Installation

Usage

<Checkbox>
  <CheckboxIndicator />
</Checkbox>

API Reference

Checkbox

Base UI API Reference - Checkbox
PropTypeDefault
...props?
HTMLMotionProps<"button">
-

The render prop is not supported in the Checkbox component as it is used for animation.

CheckboxIndicator

Base UI API Reference - Checkbox.Indicator
PropTypeDefault
...props?
SVGMotionProps<SVGSVGElement>
-

The render and keepMounted props are not supported in the CheckboxIndicator component as it is used for animation.

Credits

Built by Skyleen. The source code is available on GitHub.