Skip to content

Radio Input

<vox-radio-group> manages a set of <vox-radio> options: selection, arrow-key navigation, and the submitted form value.

System packagesRuby gemFrom source
html
<vox-radio-group label="Install method" name="method" value="pkg">
  <vox-radio value="pkg">System packages</vox-radio>
  <vox-radio value="gem">Ruby gem</vox-radio>
</vox-radio-group>

API

<vox-radio-group>:

AttributeTypeDefaultDescription
labelstringGroup label
namestringForm field name
valuestring''Selected radio's value
notestringHelp text
required / disabledbooleanfalseStates

<vox-radio>:

AttributeTypeDefaultDescription
valuestring''Value this option represents
disabledbooleanfalseDisable the option

Released under the Apache-2.0 License.