Checkbox

An accessible checkbox input with custom styling and label support.

Interactive Playground

Checkbox

Toggle the checkbox state

Checked: false

Props

PropTypeDefaultDescription
checked booleanfalseCheckbox state (bindable)
disabled booleanfalseDisable the checkbox
required booleanfalseMark as required
name string''Form field name
id string-Custom ID (auto-generated if not provided)
onchange function-Change event handler

Examples

Basic Usage

Without Label

Disabled State