Skip to content

Checkbox

A control that allows the user to toggle between checked and not checked.

When to Use

  • To allow users to select or deselect an option.
  • Use for single selection as an alternative to Toggle, which marks the state as changed and needs to be submitted.

Usage

ts
import { Checkbox } from '@youcan/alto';
vue
<Checkbox />

API Reference

Examples

Disabled