# Button

> A control you press to do one thing, like Save or Send.

**Field:** Design  
**Category:** User Interface  
**Also known as:** UI Button, Call-to-Action Button, CTA Button

## Think of it like

It is like a doorbell. You press it, and something happens.

## Definition

A button is a control that does one action when pressed, like Save, Send or Buy. Its label is a verb that says what will happen. Buttons look pressable, with a shape, a fill or an outline. A screen usually has one main button that stands out and quieter ones for the rest. A button does something; a link goes somewhere.

## Example

A form has a bright Send button and a plain Cancel button. People find the main action at a glance.

## Example code

```html
<button type="submit">Send</button>
```

A real button works with a mouse, a finger and the keys. It needs no extra code.

## Why it matters

Buttons are where people act. A vague or hidden button stops the task dead.

## Common mistake

Labels like OK or Submit. Say what will happen: Send message, Pay $20.

## Three principles

- **One action.** Press, and it happens.
- **Verb on the label.** Say what it does.
- **One main button.** The rest stay quieter.

## Related terms

- [Icon Button](https://learn.benibix.com/term/design/icon-button)
- [Button Group](https://learn.benibix.com/term/design/button-group)
- [Component State](https://learn.benibix.com/term/design/component-state)
- [Component Variant](https://learn.benibix.com/term/design/component-variant)

## Taught in

- [Buttons and Icon Buttons](https://learn.benibix.com/learn/design-user-interface/buttons-and-icon-buttons): UI Components, 2/14

---

Source: https://learn.benibix.com/term/design/button
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
