Checkbox
Capture boolean input from user
Import
Source
Docs
Package
Usage
Color
Radius
xs
sm
md
lg
xl
Size
xs
sm
md
lg
xl
States
Replace icon
Sizes
Checkbox has 5 predefined sizes: xs, sm, md, lg, xl. Size defines label font-size, input width and height:
Indeterminate state
Checkbox supports indeterminate state. When indeterminate
prop is true,
checked
prop is ignored:
Controlled
Get input ref
You can get input ref by setting ref
prop:
Accessibility
Provide aria-label
in case you use checkbox without label for screen reader support:
CheckboxGroup
Select your favorite framework/library
This is anonymous
Color
Orientation
Spacing
xs
sm
md
lg
xl
Size
xs
sm
md
lg
xl