Skip to content

Loading

When to use it

The Loading utility is used to show a loading animation on any element while the u-loading class is present. It provides a visual indication that content is being loaded or processed.

TIP

Also see the Spinner component for when you want to indicate loading within a Button or a similar, user triggered action.

What it looks like

Code examples

html
<div class="u-loading"></div>