Spinners, or work indicators, are used to show that the system is working when this isn’t otherwise obvious. Typical examples are when the system is Loading, Waiting, Working, Processing, Saving, Printing etc. Spinners are then used to describe the current status of the application. Read more about spinners in the UX Guidelines.
There are two types of work indicators, determinate and indeterminate.
The base spinner have a 48x48px dimention.
There are 3 types of spinners, with 3 version of color, for light or dark mode:
SVG spinners
GIF spinners
SVG spinners
GIF spinners
Add to your spinner img
or object
tags, the .spinner-sm
class to it, for 24x24px.
SVG spinners
GIF spinners
Add to your spinner img
or object
tags, the .spinner-xs
class to it, for 16x16px.
SVG spinners
GIF spinners
// Basic Spinner import as SVG
<object type="image/svg+xml" data="[path_to_spinner_location]/spinner_doughnut_blue_light.svg"></object>
<object type="image/svg+xml" data="[path_to_spinner_location]/spinner_doughnut_blue_dark.svg"></object>
// Basic Spinner import as gif
<img alt="spinner" src="[path_to_spinner_location]/spinner_doughnut_blue_light.gif"/>
<img alt="spinner" src="[path_to_spinner_location]/spinner_doughnut_blue_dark.gif"/>
// Smaller Spinners
<object class="spinner-sm" type="image/svg+xml" data="[path_to_spinner_location]/spinner_dotted_grey_light.svg"></object>
<img class="spinner-sm" alt="spinner" src="[path_to_spinner_location]/spinner_dotted_grey_light.gif"/>
// Extra-small Spinners
<object class="spinner-xs" type="image/svg+xml" data="[path_to_spinner_location]/spinner_snake_green_light.svg"></object>
<img class="spinner-xs" alt="spinner" src="[path_to_spinner_location]/spinner_snake_green_light.gif"/>