Skip to main content

Form radio

Settings​

SettingIDTypeDefaultDescription
Block classclasstextmb-2
Applies towhereselectcontact
LabeltitletextLabel
Default valuevaluetext
OptionsoptionstextareaOption 1 Option 2 Option 3One option per line.
Make all options inlineinlinecheckboxfalse
Requiredrequiredcheckboxfalse
Layoutlayoutselectblock
Sizesizeselect
Label widthlabel_widthrange25Desktop width of the label in the Label left layout. The control fills the rest.
Label colorlabel_colorselecttext-gray-700
Label backgroundlabel_bgcolor_background#f9fafbUsed by the Input group layout. Accepts a solid color or a gradient.
Enable boldlabel_boldcheckboxfalse

Option values​

  • Applies to (where): Contact (contact), Product (product)
  • Layout (layout): Label up (block), Label left (inline), Input group (group)
  • Size (size): Small (sm), Default (``), Large (lg)
  • Label color (label_color): Default (text-gray-700), Dark (text-gray-900), Muted (text-gray-500), Red (text-red-600), Blue (text-blue-600), Green (text-green-600), Amber (text-amber-600), White (text-white)

Presets​

  • Form radio