Selection
Checkbox
Turns an independent option on or off, including an indeterminate “some selected” state.
npx dtheo@latest add checkboxWhen to use
- Selecting rows
- Options applied with a Save button
- Immediate on/off settings: use Switch
Keyboard
- Space
- Toggles the checkbox
- The 14px box has a 24px hit area. Wrap it in a label so the text is clickable too.