Skip to content

Radio โ€‹

A single radio option used standalone or as part of a group sharing the same model-value. Sizes, color variants, optional description, and slot-overridable label and description text. Toggle Vue / CSS to switch the live demo and source together.

Basic โ€‹

Single radio option with a label.

Vue SFC

Group โ€‹

Multiple radios sharing one model-value.

Vue SFC

Sizes โ€‹

Small, medium and large.

Vue SFC

Colors โ€‹

All built-in color variants.

Vue SFC

States โ€‹

Disabled and pre-selected.

Vue SFC

Description โ€‹

Radio with a secondary description line.

Vue SFC

Slots โ€‹

Custom label and description via named slots.

Vue SFC

Event: change โ€‹

Listen to mno-change to react to selection.

Vue SFC

Event log โ€‹

Live log of mno-change events.

Vue SFC

Customized โ€‹

Override per-element styling with cssClass (Vue) or utility classes (CSS).

Vue SFC

Card recipe โ€‹

Compose a card-style radio with your own CSS โ€” the library ships no helper.

Vue SFC

Types โ€‹

Importimport { RadioProps } from 'mono-helper'
PropValueDefaultDescription
valuenull | string | number | boolean''The value this radio represents within its group.
modelValuenull | string | number | boolean''The currently selected value of the radio group.
color'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info''primary'Color theme applied to the radio.
size'sm' | 'md' | 'lg''md'Visual size of the radio.
disabledbooleanfalseDisables the radio, preventing selection.
labelstring''Text label shown beside the radio.
descriptionstring''Secondary description text shown below the label.
cssClassRadioCssClass{}Custom CSS classes applied to internal radio parts.
ariaLabelTextstringโ€”Accessible label used when no visible label is present.
ariaLabelstringโ€”โ€”