Ready

Buttons

Buttons are clickable items used to perform a direct action.

Ready

Buttons

Buttons are clickable items used to perform a direct action.

Ready

Buttons

Buttons are clickable items used to perform a direct action.

Anatomy

Anatomy

Anatomy

  1. Icon

  2. Text

  3. Container

Variants

Variants

Variants

  1. Primary: The primary button is the main call to action for the user, guiding them to next steps in common workflows or recommended actions. There should only be one primary button per page.

  2. Secondary: Secondary buttons typically accompany a primary CTA on a page, or they may stand alone to offer optional actions. Often paired with primary buttons.

  3. Transparent: Transparent buttons offer access to noncritical functionality that the user may need infrequently. Often paired with tertiary buttons.

  4. Danger: Danger buttons alert users to potentially consequential actions

  5. Danger Transparent: The danger transparent button is used to be a subtle alert for consequential actions

  6. Button Group: Button groups are used to group related options. To emphasize the ability to toggle between options, a button group should be housed in a common container.

States

States

States

  1. Default

  2. Hover

  3. Pressed

  4. Disabled

  5. Focus Visible

Behaviors

Behaviors

Behaviors



Best Practices

Best Practices

Best Practices

1. Labels

Buttons labels should be clear, concise, and action-oriented.

2. Priority

Prioritize the most important actions. Use secondary styles wisely.

3. Primary vs Secondary

Use button combinations consistently to help the user understand related actions. Primary and secondary buttons are always paired together.

4. Placement

Place commonly used actions in a consistent and familiar location.

5. Disabled States

Correctly utilize the corresponding disabled state style for each button. Do not reduce button opacity to indicate "disabled".

6. Buttons vs links

Buttons are used primarily for actions, such as "Add", "Close", "Cancel", or "Save". Plain buttons, which look similar to links, are used for less important or less commonly used actions, such as "view shipping settings". For navigational actions that appear within or directly following a sentence, use the link pattern. Links are used primarily for navigation, and usually appear within or directly following a sentence.

Content

Content

Content

  1. Button labels should be clear and concise--one or two words maximum in most cases. Users shouldn’t be surprised by what happens when they click a button.

  2. Labels should be action-oriented, including a verb that can be paired with a noun for clarity. Common actions like “Close”, “Share”, or “Delete” may not always require a clarifying noun.

  3. Use sentence case, and don't include any punctuation.

More

More

More

Related Components

Additional Reading

Placement

  1. UX Movement, and UX Movement. “How Button Placement Conventions Reinforce User Habits.” UX Movement, 22 June 2017, uxmovement.com/buttons/how-button-placement-conventions-reinforce-user-habits/.

Button Size

  1. Bailey, Eric. “Quick Test: Large Touch Targets.” The A11Y Project, a11yproject.com/posts/large-touch-targets/.

  2. “Fitts's Law.” Wikipedia, Wikimedia Foundation, 10 Mar. 2020, en.wikipedia.org/wiki/Fitts's_law.

  3. “An Interactive Visualisation of Fitts's Law with JavaScript and D3.” Visualising Fitts's Law, simonwallner.at/ext/fitts/.

  4. UX Movement, and UX Movement. “Optimal Size and Spacing for Mobile Buttons.” UX Movement, 28 Feb. 2019, uxmovement.com/mobile/optimal-size-and-spacing-for-mobile-buttons/.

Number of Choices

  1. Hick's Law.” Wikipedia, Wikimedia Foundation, 12 Mar. 2020, en.wikipedia.org/wiki/Hick's_law.

Best Practices

  1. World Leaders in Research-Based User Experience. “Website Forms Usability: Top 10 Recommendations.” Nielsen Norman Group, www.nngroup.com/articles/web-form-design/.

  2. World Leaders in Research-Based User Experience. “OK-Cancel or Cancel-OK? The Trouble With Buttons.” Nielsen Norman Group, www.nngroup.com/articles/ok-cancel-or-cancel-ok/.

  3. https://uxmovement.com/buttons/why-segmented-buttons-are-better-filters-than-dropdowns/

  4. https://uxmovement.com/mobile/stop-misusing-toggle-switches/

  5. https://blog.statsbot.co/dropdown-vs-buttons-in-slack-ux-comparison-4443010952c5

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

© 2025 Basis Technologies
© 2025 Basis Technologies
© 2025 Basis Technologies