Sign In

Radio

A radio button group for selecting exactly one option from a visible list.

The Radio field renders a group of mutually exclusive options where all choices are visible at once. Unlike a Select dropdown, every option is immediately visible on screen, making it ideal for short lists (two to five choices) where you want users to see and compare all options without clicking.

For the shared properties available on all fields (label, help, note, key, width, visual styling, required), see the Form Fields Overview.

Configuration

PropertyTypeDefaultDescription
optionsOption[]Two default optionsList of selectable options, each with a value, label, and optional title/description
layout"default" or "cards""default"Visual layout style. "cards" renders each option as a bordered card.
orientation"vertical" or "horizontal""vertical"Stack options vertically or lay them out in a row
allowOtherboolean--When true, adds a free-text "Other" option
defaultValuestring--The value of the option that should be pre-selected

Option structure

Each option in the options array has the following shape:

PropertyTypeDescription
valuestringThe programmatic value stored in submission data
labelstringThe text displayed to the user
titlestringOptional bold heading (synced with label in the editor)
descriptionstringOptional subtitle beneath the option

Validation

The Radio field extends InputFieldBase, so the required toggle is available. When required, the user must select one option before the form can be submitted.

Example Usage

A plan selection with card layout:

{
  "type": "radio",
  "label": "Choose a plan",
  "required": true,
  "layout": "cards",
  "orientation": "horizontal",
  "options": [
    { "value": "free", "label": "Free", "title": "Free", "description": "Basic features" },
    { "value": "pro", "label": "Pro", "title": "Pro", "description": "Advanced features" },
    { "value": "enterprise", "label": "Enterprise", "title": "Enterprise", "description": "Custom solutions" }
  ]
}

On this page

Radio | Buildorado