Skip to main content

RadioGroup

RadioGroup | Container for radio buttons shadow

RadioGroup serves as a container for a group of radio buttons. Allows users to select one option from a set of options, ensuring that only one radio button within a group is selected at any given time. The component supports the inline attribute, which, when set, arranges the radio buttons in a horizontal layout. In addition, it programmatically manages the value attribute, which reflects the value of the currently selected radio button.

Attributes and Properties

inline

DescriptionIf true, the elements are arranged in a horizontal layout.
Attributeinline
Typeboolean
Defaultfalse

value

DescriptionSets the radio element with the selected value as the default selected element.
Attributevalue
Typestring
Defaultundefined

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.