@ebay/skin/segmented-buttons

DS v1

Segmented Buttons are non-form toggle buttons used in certain cases. For detailed requirements and when to use these over tabs, please visit the eBay MIND Pattern for Segmented Buttons .

The selected toggle button is toggled by aria-current="true" attribute.

NOTE: JavaScript is required to handle segmented buttons currently selected button.

Default Segmented Buttons

The default segmented button has a 40px height that matches other buttons.

Segmented Buttons - large

Use the segmented-buttons--large modifier to create large segemented buttons. These have a 48px height to match large buttons.

Segmented buttons - with icons

Any 24x24 icon can be added inside of a segmented-buttons__button-cell block.

Segmented buttons - in fixed width container