Usage
Use a button group for actions that are related to each other or to a single task, such as “Log in” and “Sign up” or “Try it out” and “Learn more.”
Use button group to display a pair of primary and a secondary actions. The primary button is used for the main call to action while the secondary button is a related, less important action.
Join controls when they represent closely related peer actions with equal hierarchy. Icon-only actions must use a familiar symbol and have a concise, action-oriented accessible name.
Do
Don’t
Do
Don’t
Do
Don’t
Options
Size
Use the default size in most cases. Use the smallest size in compact toolbars and the largest size alongside prominent page introductions.
Related components
- Button: To display an action with a visible label.
- Icon button: To display a familiar icon-only action with an accessible name.
- Link: To navigate to another page.
- Hero: To introduce a page with a large heading, description, and actions.
- CTA banner: To draw attention to or create urgency around an action.