Checkbox
A control that toggles between two options, checked or unchecked.
Usage
import { Checkbox, useCheckbox } from "@skyltmax/ds9"Examples
Basic
Code
Checked
Code
Indeterminate
Code
Disabled
Code
Label
Code
No Label
Code
Overflowing Text
The checkbox will remain aligned to the first line of text.
Code
Full Width
Expands the clickable area to full width.
Code
useCheckbox
The useCheckbox hook can be used to easily manage the state of a checkbox.
Code