Generic
.alert {
border-radius: 5px;
padding: 12px;
margin-bottom: 0px;
&-generic {
color: #2E2E2E;
background-color: #FFF1DE;
border-color: transparent;}
}
        

Convey general information or actions that aren’t critical. Update users about a change or give them advice. Include lower priority information and should be dismissible.

Success
.alert {
border-radius: 5px;
padding: 12px;
margin-bottom: 0px;
&-success {
color: #2E2E2E;
background-color: #B4E76F;
border-color: transparent;}
}
        

Inform users when actions are successfully completed.

Warning
.alert {
border-radius: 5px;
padding: 12px;
margin-bottom: 0px;
&-warning {
color: #1F1F1F;
background-color: #FED69F;
border-color: transparent;}
}
        

Convey general information or actions that aren’t critical. Update users about a change or give them advice. Include lower priority information and should be dismissible.

Error
.alert {
border-radius: 5px;
padding: 12px;
margin-bottom: 0px;
&-error {
color: #FFFFFF;
background-color: #DB3B21;
border-color: transparent;}
}
        
Tip
.alert {
border-radius: 5px;
padding: 12px;
margin-bottom: 0px;
&-error {
color: #2E2E2E;
background-color: #E4F0FB;
border-color: transparent;}
}
        

Give a tip and contextual information helpful for the user.

Buttons

Show Code Snippets

Buttons execute an action or change the state of an application. Button text helps users understand what action will occur when they click or tap. Buttons make actions visible. They enable users to change or complete a task. For example use a button to let users confirm a change. Use links in favor of buttons for navigation purposes with the exception of the back and forward button.

Primary

Primary Big

Primary

.alert {
border-radius: 5px;
padding: 12px;
margin-bottom: 0px;
&-generic {
color: #2E2E2E;
background-color: #FFF1DE;
border-color: transparent;}
}
      
Default

Default Big

Default

Primary + Icon

Primary Big

Primary

Default + Icon

Default Big

Default

Primary Dropdown

Primary Big

Primary

Default Dropdown

Default Big

Default

Copy Rules
  • When possible, use labels that describe the action or result of selecting the button. Use the same terms to describe the action in both the button and any supporting instructional copy.
  • When using two buttons to present a binary choice, if possible label as “X” and “Don’t X”. This will also help with localization.
  • Use ellipses in buttons when the action requires additional user input, usually via a dialog, an alert or moving the operation to another window or part of the UI.