Checkbox

Allows users to select or deselect an option, commonly used in forms and settings where multiple choices are available.

Props

NameDefaultType
size
"sm""sm" | "md"

Controls the size of the checkbox

label
-string

Text label shown next to the checkbox

disabled
-boolean

Disables the checkbox interaction

padding
falseboolean

Adds padding around the checkbox

modelValue
-boolean | 0 | 1

Checked state of the checkbox

id
-string

HTML id attribute for the input element