An iOS-like toggle button as an input.

```jsx
import useForm, { Form } from "../../hooks/use-form"

const [enabled, setEnabled] = React.useState(true)

const handleChange = () => setEnabled((prevState) => !prevState)

const form = useForm()

;<Form form={form}>
  <ToggleInput checked={enabled} onChange={handleChange} />
</Form>
```
