Skip to content

Checkbox โ€‹

A control for boolean / multi-state selection. Toggle Vue / CSS to switch the live demo and source together.

Basic โ€‹

Default checkbox; optional label and description.

Vue SFC

States โ€‹

Disabled, pre-checked and indeterminate states.

Vue SFC

Sizes โ€‹

Small, medium and large.

Vue SFC

Colors โ€‹

All built-in color variants.

Vue SFC

Group โ€‹

Simple group layout.

Vue SFC

Slots โ€‹

Custom label/description via slots.

Vue SFC

Event: change โ€‹

Listen for change events.

Vue SFC

Controlled โ€‹

Drive the value imperatively.

Vue SFC

Indeterminate toggle โ€‹

Toggle the indeterminate flag.

Vue SFC

Select-all group โ€‹

Master checkbox + members.

Vue SFC

Event log โ€‹

Live log of emitted events.

Vue SFC

Customized โ€‹

Custom checkbox with advanced styling.

Vue SFC

Types โ€‹

Importimport { CheckboxProps } from 'mono-helper'
PropValueDefaultDescription
modelValuebooleanfalseBound checked state of the checkbox.
checkedbooleanfalseWhether the checkbox is checked.
color'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info''primary'Color theme of the checkbox.
size'sm' | 'md' | 'lg''md'Visual size of the checkbox.
disabledbooleanfalseDisables interaction and dims the checkbox.
indeterminatebooleanfalseShows the indeterminate (mixed) state.
labelstring''Label text shown next to the checkbox.
descriptionstring''Secondary description text shown under the label.
valuestring''Form value submitted when checked.
namestring''Form field name of the checkbox.
ariaLabelTextstringโ€”Accessible label text for screen readers.
cssClassCheckboxCssClass{}Per-element class overrides.