TrademarkTrademarkDocs
Ctrl k
Search docs...
Form Controls

Checkbox

Updated: July 27, 2026
View on GitHub
The Checkbox component provides a selectable control that can be toggled between checked, unchecked, and indeterminate states. It's built on top of the InteractiveDetails component for consistent styling and behavior. Use the checked prop with React state to create controlled checkboxes. The checkbox can display an indeterminate state, useful for parent checkboxes that control a group of child checkboxes. Disable the checkbox to prevent user interaction. Disable the hover pulse animation by setting hoverable to false.
Prop
Type
Default
checked
Whether it is ticked.
boolean—
indeterminate
The third state, for a parent whose children are partly ticked.
booleanfalse
onToggle
Called when it is flipped.
() => void—
hoverable
Highlight the row on hover.
booleantrue
label
ReactNode—
description
ReactNode—
disabled
booleanfalse
className
string—
style
React.CSSProperties—
iconButtonProps
Props forwarded to the icon button beside the label.
IconButtonProps—
…and every React.InputHTMLAttributes propinherited—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club