Glowup
INPUTS · 25 / 89
Checkbox
Checkbox — a Material You inputs component for React Native and web.
󱀫
packages/ui/src/components/Checkbox.tsx
Live demo
Properties
6 controls
Label
Checked
Indeterminate
Label Position
Right
󰍝
Disabled
Error
Usage
Checkbox.tsx
<Checkbox label="Accept terms" checked={false} />
Variants
The states and shapes this component is meant to be used in.
States
Select all tree
Disabled and error
Label position
API reference
Generated from the library's TypeScript, so it cannot drift from the implementation.
Props
8 on CheckboxProps
checked
required
boolean
onValueChange
required
(value: boolean) => void
disabled
boolean
error
boolean
feedback
boolean
default: true
Report the toggle to `ThemeProvider`'s `onInteractionFeedback` (haptics). Defaults to true.
indeterminate
boolean
Mixed state (e.g. "select all" with partial selection); overrides the checkmark.
label
string
labelPosition
"left" | "right"
default: "right"