Skip to main contentCarbon Design System

Inline loading

Color

ClassPropertyColor token
.bx--loading__backgroundstroke$ui-03
.bx--loading__strokestroke$interactive-04
.bx--inline-loading__textcolor$text-02
status: finishedsvg$support-02
status: finishedsvg$support-01
Example of inline loading states

Typography

Button text should be set in sentence case, with only the first word in a phrase and any proper nouns capitalized.

ClassFont-size (px/rem)Font-weightType token
.bx--inline-loading__text12 / 0.75Regular / 400$label-01

Structure

ClassPropertypx / remSpacing token
Spinnerwidth, height16 / 1–
Checkmarkwidth, height16 / 1–
Inline loading spinner structure measurements

Placement

The inline loading component should appear during any user action loading. If button is used to trigger the action, the inline loading component should replace that button.

Inline loading spinner in context example

Structure measurements for small and large loading spinner | px / rem