Radio Panel

<sw-radio-panel>

ready
Radio panel that can be used as an radio input with bigger content. It is possible to define custom content with a slot.

Usage

Loading...
<sw-radio-panel value="selectionValueIfSelected"
title="Example title"
description="Example description"
icon="default-badge-warning"
></sw-radio-panel>

Component properties

Property name Type Default
value String
modelValue String
title String
description String
icon String
id String
name String
required Boolean false
disabled Boolean false
truncate Boolean false

Methods

Method name Parameters
toggle No parameters

Imports

  • ./sw-radio-panel.html.twig
  • ./sw-radio-panel.scss

Twig blocks

  • sw_radio_panel_input
  • sw_radio_panel_body_radio
  • sw_radio_panel_body_image
  • sw_radio_panel_body_title
  • sw_radio_panel_body_description
  • sw_radio_panel_body_slot
  • sw_radio_panel_body
  • sw_radio_panel

Slots

  • default