Group a series of buttons together on a single line with the button group.
JavaScript API
Let's look at some button groups:
What you should see: Many button groups with very different styling and behaviour.