# rn-checkbox URL: /docs/native/components/checkbox Standalone checkbox component with optional label and size variants. ## Installation ```bash pnpm dlx @docyrus/cli add @docyrus/rn-checkbox ``` ## Usage ```tsx import { Checkbox } from '@/components/docyrus-native/checkbox'; ``` ## API Reference | Prop | Type | Default | Description | |------|------|---------|-------------| | `checked` | `boolean` | `false` | Checkbox state | | `onCheckedChange` | `(checked: boolean) => void` | — | State change handler | | `disabled` | `boolean` | `false` | Disable interaction | | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Checkbox size | | `label` | `string` | — | Optional label text | | `className` | `string` | — | Additional CSS classes | | `labelClassName` | `string` | — | Label CSS classes | | `accessibilityLabel` | `string` | — | Accessibility label | ## Type Exports | Type | Description | |------|-------------| | `CheckboxProps` | Props for Checkbox component | | `CheckboxSize` | `'sm' \| 'md' \| 'lg'` |