Examples
Default
Checked
With Label
All States
Disabled
Props
Checkbox
A checkbox input with optional label and helper text. Supports checked, unchecked, and indeterminate states. The ref type is intentionallyHTMLInputElement (not HTMLButtonElement) for form-library compatibility — libraries like react-hook-form call register() which expects an HTMLInputElement ref. A hidden <input> is synced to the Radix checkbox state via useImperativeHandle.
Exported types
Also exported from@fanvue/ui: CheckboxProps, CheckboxSize.
Setup: Installation · Theming