Category: Buttons & Links

Primary Button

Introduction

Primary buttons are used for most all actions the user takes, with the exception of actions within a table.

These will typically show up in one of two places, depending on what the user is interacting with:

  • On a page, or a full page edit drawer, buttons will always be in the top right portion of the screen
  • On a modal window, they will always be on the bottom right portion of the modal

Design

Default

Edit

Hover, target, active state

Edit

Disabled

Edit

Code

Primary Button HTML

Primary Button SCSS

Confirm Button

Introduction

The confirm, or green button is used for:

  • Confirming & saving changes
  • Committing/creating an element inline (for example, create new collection)

Design

Default

Save Changes

Hover, target, active state

Save Changes

Disabled

Save Changes

Code

Confirm button HTML

Confirm button SCSS

Link button

Warning Button

Introduction

The warning button uses the global $warning_color for the background. This design is used for delete or destructive actions.

Design

Hover, target, active state

Delete User

Disabled

Delete User

Code

Warning button HTML