Animate UI

Checkbox

A control that allows the user to toggle between checked and not checked.

Made by imskyleen
Edit on GitHub

Installation

Usage

<Checkbox />

API Reference

Checkbox

PropTypeDefault
variant?
"default" | "accent"
-
size?
"default" | "sm" | "lg"
-
...props?
HTMLMotionProps<"button">
-

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

Credits

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