Sora UI

Checkbox · Radix UI

An accessible, stylable checkbox component built with Radix UI and Motion for React with spring-animated checkmark SVG drawing.

Made by Axyl
Loading...

Default animated Radix UI checkbox with interactive label and spring checkmark draw animation.

Installation

npx shadcn@latest add @soralabs/radix-checkbox

File Structure

checkbox.tsx
use-controlled-state.tsx

Usage

Uncontrolled with Default Checked

Controlled

Examples

With Helper Text

Loading...

Checkbox with supplementary title and description text.

Card Selector

Loading...

Selectable card container with embedded animated checkbox.

Indeterminate State

Loading...

Checkbox in a partially checked indeterminate state.

Props

PropTypeDefault
checked?
boolean | "indeterminate"
-
defaultChecked?
boolean | "indeterminate"
false
onCheckedChange?
(checked: boolean | "indeterminate") => void
-
label?
ReactNode
-
labelClassName?
string
-
indicatorClassName?
string
-
disabled?
boolean
false
className?
string
-

Built by Axyl. A motion-first component registry for React.

Last updated: 9/11/2026

On this page

Help keep SoraLabs moving.

Every contribution helps us build and maintain open-source tools for the community.

Sponsor on GitHub