Active theme set to LightDarkLight high contrastDark high contrast and saved in preferences.
Copied to clipboard.
Error submitting your feedback! Please try again.

SpinnerReady

Spinner component is used to indicate users that their action is being processed. You can customize the size and color of the spinner with the provided properties.

Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
View RTL
<nord-spinner size="xl"></nord-spinner>

Properties

PropertyAttributeDescriptionTypeDefault
sizesize

The size of the spinner.

"xs" | "s" | "m" | "l" | "xl" | "xxl""m"
colorcolor

The color of the spinner. Can accept any valid CSS color value, including custom properties.

string | undefinedundefined
labellabel

An accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology.

string | undefinedundefined

Usage #

This section includes guidelines for designers and developers about the usage of this component in different contexts.

Do #

  • Use for indicating users that their action is being processed.
  • Use the label property to provide an accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology.

Don’t #

  • Don’t use to show progress. Favor a progress bar instead.

Integration

For integration guidelines, please see Web Components documentation. This documentation explains how to implement and use Nord Web Components across different technologies such as Vue.js, React, or Vanilla JavaScript.

Integration Guidelines

Localization

Nord provides a lightweight solution for localizing its components. Not all components need localizing, as for the most part snippets of text are set per instance. For full localization guidelines, please see Localization documentation.

Localization Guidelines

Troubleshooting

If you experience any issues while using Nord Web Components, please head over to the Support page for more guidelines and ways to contact us.


Was this page helpful?

YesNo
Send feedback

We use this feedback to improve our documentation.