Button Group

<sw-button-group>

ready
The sw-button-group is a container element for sw-button and sw-context-button elements.

Usage

Loading...
<sw-button-group>
    <sw-button>Button 1</sw-button>
    <sw-button>Button 2</sw-button>
    <sw-button>Button 3</sw-button>
</sw-button-group>

Component properties

Property name Type Default
block Boolean false
splitButton Boolean false

Imports

  • ./sw-button-group.scss
  • ./sw-button-group.html.twig

Twig blocks

  • sw_button_group_slot_default
  • sw_button_group

Slots

  • default