Elements Checkbox
Back to Elements

Checkbox

0 components

UI elements you can copy into your project.

API reference

Generated from each primitive's $props() declaration.

Checkbox.Root

Selectable checkbox input with dark mode support.

Prop Type Default Description
ref bind: HTMLElement | null null
checked bind: boolean false
indeterminate bind: boolean false
class as className string
...restProps Record<string, unknown> Remaining attributes, spread onto the underlying element.