Text button

A text button is a minimalistic button that contains text only and leads to a low-priority actions. It is typically used for secondary actions or supplementary options, allowing for a more streamlined and minimalist design. Text buttons help reduce visual clutter and can enhance user experience by providing clear, unobtrusive navigation choices.

Overview

  • Available sinceMadrid
  • A11Y WCAG 2.1 AA

When to use

Use text buttons for low-priority actions, particularly when presenting multiple options. They are ideal for subtle actions that do not require immediate attention or in dense UI layouts where space is limited and a less obtrusive button is needed.

When not to use

Avoid using button bare for primary actions or in places where it might be overlooked due to its minimalistic design.


Anatomy

iOS Text Button

iOS

Android Text Button

Android

  1. Label: Describes the action of the button

Variants

Text buttons offer three main variants: Primary, Destructive, and Positive. Utilizing these different variants can guide users through their choices and processes, with each variant emphasizing the importance of the respective action. Make sure to select the appropriate button variant based on the significance of each action, enhancing user interaction and overall experience.

Primary

The default variant for a text button is Primary, which helps users recognize that it allows for an action upon clicking. This choice enhances the visibility of the button, even with its minimalist design.

Primary text button

Destructive

The Destructive text button is used for critical actions with negative outcomes, such as logging out or exiting. Its red color clearly signals the seriousness of the action, helping users understand the consequences before proceeding.

Destructive text button

Positive

The Positive text button is used for actions that confirm or approve, such as initiating a process or confirming a choice. It reinforces positive user decisions with a style that stands out, while maintaining balance and not overwhelming the display.

Positive text button

Design recommendations

  1. Shorter values
Text button with "Clear" as a label
Do

Keep button labels short and focused on the action. Ensure the text clearly communicates the intended action.
Capitalizing only the first word.

Text button with "Please click here to proceed to the next step" as a label
Don’t

Avoid overly long text on buttons. If the text is too long, avoid breaking it into two lines—shorten the label to fit, and only truncate the text as a last resort. Keep the text on a single line, using sentence case with only the first word capitalized.

  1. Secondary action
Text button used for a secondary "Day off" button
Do

Use Text button for lowest priority actions.

Text button used for a primary "Add tasks" button
Don’t

Avoid use text button as the primary actions.

Strikethrough## UI text guidelines

Content generator library

These are some recommendations for labeling a text button:

  • Start with a verb to describe a specific action. This sets the expectation of what happens next.
  • Use short labels. Two words is ideal. Three is OK. If needed for clarity, four is acceptable.
  • Avoid commas, periods, and other punctuation
  • Add an object to the verb if additional context or clarity is needed. For example, “Add table".
  • Add an article (like “a” or “an”) to add a more human, conversational tone For example, “Add a person”
  • Use the same verb tense if there are multiple buttons For example, two buttons could be “Apply” and “Close,” both of which are present tense

States

Text button has 2 states: Default and Disabled.

State Primary Destructive Positive
Default ????.png ????.png ????.png
Disabled ?????.png ????.png ????.png

Interactions

Learn where the text button appears in the app.

Launcher screen

A text button can appear on the launch screen, guiding users to low-priority actions.

Launcher screen with "see all" text button that leads to all my tasks

For example: a text button that leads to all my tasks.

Filters Screen

A text button can appear on the filters screen for the clear action.

"Clear" text button in the bottom of a filters screen

Input form screen

Text button can appear on the input form screen, leading to 'See attachment’.

"See attachments" text button on an input in the input form screen

Settings tab screen

Text button can appear on the settings tab screen, leading to 'Log Out'.

"Log out" text button on the settings tab screen