@agala-labs/ui
Checkbox
Toggles a boolean choice, including indeterminate state.
Examples
Default
Accept the terms
<AgalaCheckbox v-model="accepted" label="Accept terms" />Import
import { AgalaCheckbox } from '@agala-labs/ui'API
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | boolean | — | Checked state used by v-model. |
label | string | — | Visible label. |
indeterminate | boolean | false | Displays mixed state. |
error | boolean | false | Sets invalid styling. |
disabled | boolean | false | Disables interaction. |
class | string | — | Consumer override class. |
Events
update:modelValue(value: boolean)
Accessibility
Uses checkbox semantics and exposes mixed state with aria-checked.