Skip to content

@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

PropTypeDefaultDescription
modelValuebooleanChecked state used by v-model.
labelstringVisible label.
indeterminatebooleanfalseDisplays mixed state.
errorbooleanfalseSets invalid styling.
disabledbooleanfalseDisables interaction.
classstringConsumer override class.

Events

  • update:modelValue(value: boolean)

Accessibility

Uses checkbox semantics and exposes mixed state with aria-checked.

Released under the MIT License.