Checkbox

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

Made by imskyleen
Edit on GitHub

Installation

Usage

<Checkbox>
  <CheckboxIndicator />
</Checkbox>

API Reference

Checkbox

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

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

CheckboxIndicator

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

The asChild and forceMount 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.

Last updated: 10/4/2025