Skip to main content

BwRadio | bw-radio

Overview

Radios can be used in a BwRadioGroup to allow the user to select a single option from a list.

Usage

Variants

Regular size
Large size
Starting Label
Ending Label
Disabled
Readonly
<div>
<bw-radio-option value="one" size="rg">Regular size</bw-radio-option>
</div>
<div>
<bw-radio-option value="one" size="lg">Large size</bw-radio-option>
</div>
<div>
<bw-radio-option label-placement="start" value="one">Starting Label</bw-radio-option>
</div>
<div>
<bw-radio-option label-placement="end" value="one">Ending Label</bw-radio-option>
</div>
<div>
<bw-radio-option value="one" disabled="true">Disabled</bw-radio-option>
</div>
<div>
<bw-radio-option value="one" readonly="true" selected="true">Readonly</bw-radio-option>
</div>

Properties

PropertyAttributeDescriptionTypeDefault
disableddisabledForces disabled state and prevents changes to this individual radiobooleanfalse
largelargeMakes the option biggerbooleanfalse
selectedselectedIf the option is currently selectedbooleanundefined
valuevalueThe value of this option that the radio group will compare againstanyundefined

Slots

SlotDescription
The content of the radio button

Shadow Parts

PartDescription
"button"The button of the radio button

Dependencies

Depends on

Graph


© 2025 United Systems & Software - All Rights Reserved.