Radio

A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.

Usage

PreviewCode
DefaultComfortableCompact

API Reference

VoltRadioGroup — volt-radio-group

InputTypeDefault
id string
orientation NgpOrientation 'vertical'
value string | null null
disabled boolean false
compareWith (a: string | null, b: string | null) => boolean Object.is
OutputType
valueChangeunknown

VoltRadioItem — volt-radio-item

InputTypeDefault
value *string
disabled boolean false

Component Source

Install via CLI:npx @voltui/cli add radio
TypeScript
Loading editor…

Copy this code to your project. The component uses ng-primitives/radio.