Button group
Two buttons, stacked either vertically or horizontally, that offer the user two separate calls to action.
Default button group orc-c-btn-group
Two buttons that offer the user two separate calls to action.
Vertical button group orc-c-btn-group--vertical
Stacks the two buttons vertically and centers them horizontally.
Centered button group orc-c-btn-group--center
Horizontally centers the buttons while keeping them stacked side by side.
Usage
When to use
Use a button group to give users a choice: confirm or cancel, learn more or book right away, and so on. It’s the choose-your-own-adventure approach.
When to consider an alternative
If the user has only one course of action, use a button.
Class Name | Description |
---|---|
Required
|
Apply to the button group’s containing HTML element. This is set to |
Modifier
|
Add to the |
Modifier
|
Add to the |
Required
|
Button group button. This is used with a |