background color: #C65100
border-radius: 2sp
text: button style
font: Roboto
font-size: 14sp
font-weight: medium
color: #FFFFFF
shadow: see Hover & Active
background color: #943E00
shadow: 2dp elevation
x offset: 0sp
y offset: 1sp
blur: 4sp
color: #000000
transparency: 65%
Same background color as the hover state
shadow: 8dp elevation
x offset: 0sp
y offset: 6sp
blur: 14sp
color: #000000
transparency: 65%
background color: #DEE0E2
font color: #9AA2A8
no shadow
Normal
Hover & Active
Pressed
Disabled
Interactive Demo
VIEW RESULTS
VIEW RESULTS
VIEW RESULTS
VIEW RESULTS
VIEW RESULTS
Primary Action Button
Primary action buttons are the most actionable buttons that our interfaces will present to our users. They have been given an orange color that contrasts with the primary indigo color included in the page header. This orange has been designed to complement our primary indigo color.
We should include no more than one primary action button per page or per modal panel. They are used to call out the final step of a workflow, or to initiate a new one. Activating a primary action button will often commit changes to the underlying state of the system.
Examples include submitting a questionnaire, or initiating a review of a patient's test results.
background color: #26478E
All other styles inherited from the primary button.
background color: #1B3265
shadow elevation: 8dp
background color: #DEE0E2
font color: #9AA2A8
no shadow
Normal
Hover & Active
Pressed
Disabled
Interactive Demo
ADD TO QUEUE
ADD TO QUEUE
ADD TO QUEUE
ADD TO QUEUE
ADD TO QUEUE
Secondary Action Button
Secondary action buttons may be used more than once per page, unlike primary action buttons. Secondary action buttons are filled with the indigo used in the page header. This similarity of color between secondary action buttons and other page elements gives these buttons less visual prominence than the orange primary action buttons. Their darker fill affords secondary action buttons a strong, actionable contrast as compared with most other components used in our forms. These other components, which are must less intensely colored, include tertiary buttons, paragraphs, headings and tables.
Examples include moving to the next step in a multi-page process or adding a new row to a table.
Tertiary Action Button (button link)
Tertiary buttons visually resemble hyperlinks. Unlike hyperlinks, they should be positioned outside paragraphs or other large bodies of text. As compared with other button styles, tertiary buttons introduce the least amount of visual clutter to the page. Their more muted appearance communicates the least visual priority to the user of all our button styles, hence they are useful for presenting the user with lower priority functions that are often optional.
Examples include canceling a workflow or printing the page.
background color: #transparent
corner radius: 2sp
All other styles inherited from the primary button, except that tertiary button have no shadows.
background color: #CDE0FE
font color: #0557DD
background color: #B4D0FD
font color: #044FC8
Notice that the font color is slightly darker with the pressed state. This keeps the font and background colors in compliance with accessability contrast requirements.
background color: transparent
font color: #9AA2A8
Normal
Hover & Active
Pressed
Disabled
Interactive Demo
CANCEL
CANCEL
CANCEL
CANCEL
CANCEL
Hollow Button
Hollow buttons may be used more than once on a page, much like secondary action buttons. Hollow buttons fall between the primary action and tertiary buttons in terms of visual prominence and functional priority on the page.
Examples include certain applications of icon buttons
background color: #FFFFFF
font color: #08090A
All other styles inherited from the primary button.
background color: #DEE0E2
font color: #9AA2A8
no shadow
Normal
Hover & Active
Pressed
Disabled
Interactive Demo
VIEW RESULTS
VIEW RESULTS
VIEW RESULTS
VIEW RESULTS
VIEW RESULTS
background color: #CDE0FE
shadow elevation: 8dp
Buttons with Icons
Hollow buttons may be used more than once on a page, much like secondary action Button may use text, icons or a combination of both. When used correctly, icons will make it easier for users to recognize the effect activating a button will have on the underlying state of the system.
When to use icons
Use icon buttons when there is a readily available, unambiguous icon that communicates the function of a button
When not to use icons
Do not use icons with text or functions that are not already widely associated with one another elsewhere on the web.
Many functions will not have readily available icons already associated with them. Do not invent new icons or new icon-text pairings unless you can defend the association between icon, text and functionally as being completely unambiguous.
No button should include more than one icon.
Icon with Text
Icon Button
icon font: Font Awesome
icon font size: 16sp
icon font weight: regular
text font: Roboto
text font size: 14sp
text font weight: medium
The gap between the icon and the text is one non-breaking space at 14sp Roboto
All other style inherited from the parent button type (primary, secondary, hollow or tertiary)
icon font: Font Awesome
icon font size: 20sp
icon font weight: regular
Dimensions: 36dp x 36dp
Inherits secondary or hollow buttons styles
ADDRESS
ADDRESS
ADDRESS
ADDRESS
Spinner Buttons
Certain buttons will change state to indicate that the underlying system is in a state of processing a user's request. They will appear as standard button until the user activates them, at which point they will switch to a button with a rotating spinner icon. When the processing is complete, the button will return to its standard button appearance.
Notes about spinner buttons
Spinner buttons should not be interactive while in their spinning state (no hover state, no pressed state, no action on click)
Spinners should rotate clockwise
Spinner buttons should end with an ellipsis, with a space between the last word on the button and the ellipsis
The button may change width between normal and spinner states. Other content on the page should reflow to accommodate the spinner button's altered width as necessary.
SUBMIT
PROCESSING ...
Interactive Demo
background color: #C15240
All other styles inherited from the primary button.
background color: #9A4032
shadow elevation: 8dp
icon font: Font Awesome
icon font size: 16sp
icon font weight: regular
icon: fa-spinner (f110)
text font: Roboto
text font size: 14sp
text font weight: medium
Normal
Hover
Pressed
Spinner
SUBMIT
SUBMIT
SUBMIT
PROCESSING ...
General Button Formatting
Our buttons follow Material Design Guidelines for most button styles.
Deviations from Material Design
The main deviation is the use of our own colors.
The contrast of the disabled style has been increased to meet accessibility contrast requirements.
Button Layout
VIEW RESULTS
SUBMIT
CANCEL
SUBMIT
centered vertically
16
16
VIEW RESULTS
36
88 (min)
8
Height
Min Width
Padding
Spacing between buttons