BrickclayDesign System

Radio

bk-radio-button: one option in a radio group; group them by binding the same ngModel and giving each a distinct [value]. Two visual variants: dot and tick.

bk-radio-buttonForms and inputsAngular

Preview

A working preview of Radio in the Brickclay style. Try it.

Interact with the preview to see events here.

Dot variant (default)

Tick variant

Deselectable, [allowDeselect]="true"

Click the selected option again to clear it. Value: a

Sizes

radioClass has no default, pass one of xsm, sm, md, lg, or the circle renders at zero size.

Dot variant

API reference

InputTypeDefaultDescription
valueunknown–Model value this option represents.
allowDeselect / uncheckedValueboolean / unknownfalse / nullClicking the selected radio clears the model.
variant'dot' | 'tick''dot'Visual style.
disabledbooleanfalseDisables just this option.
changeEventEmitter<unknown>outputFires with the new model value.