Checkbox

A control that allows the user to toggle between checked and not checked.

Installation

npx ghost-ui-native add checkbox

Usage

import { Checkbox } from '@/components/ui/checkbox';
const [checked, setChecked] = useState(false)

<Checkbox checked={checked} onCheckedChange={setChecked} />