Inputs and selection
Checkbox
Available forNativeWeb
checked onCheckedChange
Usage
On native the Label needs its own onPress to toggle.
API
<Checkbox checked onCheckedChange disabled? />Get it
Already in every copy of the native kit:
import { Checkbox } from '@/components/ui/checkbox';Details
- Exports
Checkbox- Packages
- @rn-primitives/checkbox@^1.5.2, lucide-react-native@^1.21.0
- Installs with
- @kit-native/icon, @kit-native/lib-utils
- Also searched as
- tick, check
- Registry JSON
- /r/native/checkbox.json
Usage
For picking any number of options. One-of-many is a RadioGroup; never mix the two in one group.
API
<Checkbox id checked onCheckedChange /><Label htmlFor>…</Label>Get it
Already in every copy of the web kit:
import { Checkbox } from '@/components/ui/checkbox';Details
- Exports
Checkbox- Upstream
- Unchanged from shadcn/ui; installs from their registry.
Agents: the whole registry is at /llms.txt.