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.
<nord-spinner size="xl"></nord-spinner>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
size | size | The size of the spinner. | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "m" |
color | color | The color of the spinner. Can accept any valid CSS color value, including custom properties. | string | undefined | undefined |
label | label | An accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology. | string | undefined | undefined |
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.
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.