Forms & Inputs
Checkbox
Android-style checkbox with State × Selection × Size props. Supports Default, Pressed, Enabled, and Disabled states with exact Figma-spec ripple and fill colours.
V 1.0View in Storybook
Controls
State
Selection
Size
Label
Variants
Props
Code
import { Checkbox } from '@/src/components/Checkbox/Checkbox'
import { SelectionList } from '@/src/components/SelectionList/SelectionList'
// Standalone checkbox
<Checkbox
state="default" // default | pressed | enabled | disabled
selection={false} // boolean
size="sm" // sm | md
onChange={(v) => console.log(v)}
/>
// Selection list (checkbox)
<SelectionList
selectionType="checkbox"
size="md"
selected={['apple']}
items={[
{ value: 'apple', label: 'Apple' },
{ value: 'mango', label: 'Mango' },
]}
onChange={(sel) => console.log(sel)}
/>