UI MarCom 3

Toggle Button Group Stable New in 3.2 Dark theme

Toggle Buttons display the status „active“ or "not-active“ through their design. Functionally they are very similar to Radio Buttons which means only one button can be active at the same time.

<uimc-togglebutton-group>
    <uimc-togglebutton>
       Label 1
    </uimc-togglebutton>
    <uimc-togglebutton>
       Label 2
    </uimc-togglebutton>
</uimc-togglebutton-group>

Toggle Button container <uimc-togglebutton-group>

AttributeDescriptionValuesDefault
flowSet the flow of the buttonsrow, column, breakpointrow
breakpointIf flow is set to breakpoint it turns horizontal above the given breakpointxs, sm, md, lg, xlmd

CallbackArgumentDescription
onChangecurrent togglebuttonCallback function that gets triggered when a togglebutton inside the group is clicked

SlotSlotted content
defaultSlot for some <uimc-togglebutton>

Toggle Buttons <uimc-togglebutton>

AttributeDescriptionValuesDefault
selectedSelect-state of the Toggle Button
disabledActive-state of the item
themeControl item’s backgroundlight, darklight

CallbackArgumentDescription
onChangethisCallback function that gets triggered when the togglebutton is clicked

SlotSlotted content
defaultInner text is shown as label