Button grouping block

Button grouping block


The button grouping block is a container of multiple buttons whose actions are related to each other.

See the Travelers Design System's button component documentation page for more tips on using buttons and button groupings.

Contents:

  • Block customization options
  • Block examples

Block customization options

Button grouping illustration
Element Required Options Available
Button Size Y
  • Default
  • Small
Button Style Y
  • Primary
  • Secondary
  • Tertiary
  • Ghost
Button URL N
  • User Input
Display Button Icon Y
  • Start (position)
  • End (position)
  • None

Examples of button grouping variations

Default button group with primary, secondary, and tertiary buttons

Primary Element Usage
Button Size Default
Button Style Primary
Display Button Icon None
Secondary Element
Button Size Default
Button Style Secondary
Display Button Icon None
Tertiary Element
Button Size Default
Button Style Tertiary
Display Button Icon None

Button grouping with icons

Primary Element Usage
Button Size Default
Button Style Primary
Display Button Icon First
Secondary Element
Button Size Default
Button Style Secondary
Display Button Icon First
Tertiary Element
Button Size Default
Button Style Tertiary
Display Button Icon First

Small button group with primary, secondary, and tertiary buttons

Primary Element Usage
Button Size Small
Button Style Primary
Display Button Icon None
Seondary Element
Button Size Small
Button Style Secondary
Display Button Icon None
Tertiary Element
Button Size Small
Button Style Tertiary
Display Button Icon None