The SUSE Design System uses cookies to help us learn more about how we can improve the design system.
Learn more about our cookie policy

Loading

A comprehensive guide on how to consistently display loading content in an application, section, or component.


Full section loading

When the load time of a section is longer than 1 second, use a solid white overlay with a 48px loading icon in the center. Once loading has completed, fade out the overlay displaying the content.

Inline loading

Component

When loading a component, display the container outline adding a solid white overlay. The 36px loading icon should be placed at the center of the component. When the component has loaded fade out the overlay, displaying the content.

Inline loading

Inline loading

When the user clicks on the action and data needs to be processed, show the 16px animated icon inside the element. Once the action has finished, display the check mark to show that the action completed successfully or the cross mark if something went wrong.

Inline loading

Animated icon code snippet

Use the loading icon from the eos-icons library, to indicate the loading state of an element, component, or page.

Once the loading is complete, use the CSS property from CSS code snippet to fade out the loading icon overlay and display the content.

animated_icon
content_copy
<i class='eos-icons eos-icon-loading'></i>
content_copy
transition: all 0.5s ease-out