The SUSE Design System uses cookies to help us learn more about how we can improve the design system.
Learn more about our cookie policy


Buttons are elements used to perform actions such as submitting a form, opening a dialog, or cancelling an action. They are an essential element of interaction design and have a primary role in the conversation between a user and the system.

There are a number of options you can use when styling a button such as size, type, and state.

Button vs. link

The HTML elements for buttons and links describe a very specific type of action that is going to be taken when they are used. However, it is important to know when to use one or the other in a specific situation:

  • Use links for navigating to other pages.
  • Use buttons for performing an action, such as: “submit,” “merge,” “create new,” “upload,” etc. These actions almost always occur on the same page.
Bootstrap btn-link class
Do not use the btn-link class styled like a button. All links should be clearly styled as links. This helps the user identify the type of response to expect when clicking a giving elements. Go to the usage page for more information.

Default button

A default button is the standard button with basic style and the most commonly used option.

<button class='btn btn-default'>Button</button>
<button class='btn btn-default disabled'>Button</button>


Use the inverse button when you placing a default button on a dark background.

<button class='btn btn-default-inverse'>Button</button>
<button class='btn btn-default-inverse disabled'>Button</button>

Primary button

A primary button is used for call-to-actions that are clearly more important and need attention drawn to it.

The outlined version is the alternative to solid primary buttons. Use these buttons when actions are primary but don’t want to give extra visual weight.

<button class='btn btn-primary'>Button</button>
<button class='btn btn-outline-primary'>Button</button>
<button class='btn btn-primary disabled'>Button</button>
<button class='btn btn-outline-primary disabled'>Button</button>

Danger button

Use the danger button to indicate destructive or negative actions. For example, deleting data.

<button class='btn btn-danger'>Button</button>
<button class='btn btn-danger disabled'>Button</button>