Forms/Checkbox

Checkbox

Animated checkbox with indeterminate state, group management, and full keyboard accessibility. Works as a controlled or uncontrolled input.

import { Checkbox } from "@animui/ui"

States

Props

PropTypeDefaultDescription
labelstring | React.ReactNodeLabel rendered next to the checkbox.
checkedbooleanControlled checked state.
defaultCheckedbooleanfalseInitial checked state for uncontrolled usage.
indeterminatebooleanfalseShows an indeterminate (dash) state — useful for 'select all' checkboxes.
onChange(checked: boolean) => voidCalled when the checkbox is toggled.
disabledbooleanfalseDisables the checkbox.
size"sm" | "md" | "lg""md"Controls the size of the checkbox element.
classNamestringAdditional classes on the wrapper.
© 2026 Steal Shadow. MIT License.Report an issue