Tree of DesignAll terms A–Z

Button

A control that triggers an action.

See it on the 3D tree

Going deeper

Buttons usually come in levels of emphasis, such as primary, secondary and text, and need default, hover, focus, pressed, disabled and sometimes loading states. A button performs an action; a link takes you somewhere. Native button elements also provide keyboard and screen reader behaviour.

Why it matters

Getting hierarchy, labels and states right makes actions obvious and prevents costly misclicks.

In practice

In a delete dialog, the buttons read Delete project and Cancel rather than Yes and No.

Common mistake

Building a clickable div that looks like a button but cannot be reached or activated with a keyboard.

Connected terms