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

Usage

import { Switch } from '@turbostack/ui'
const [value, setValue] = useState(false);

return <Switch value={value} onClick={() => setValue(!value)} />