EDS4 logo
@eds/loading
v4.0.6

Loading

Provides a visual cue that the application is processing data.

Use the <LoadingSpinner /> component to indicate that an action is being processed. This is mainly a utility component used to build other EDS-components, such as <Button loading={true} />. If you need a loading state for data or content to be displayed, use the LoadingSkeleton.

The loading spinner uses currentColor by default. Prefer to not customise this, as other components will inform the color of the loading spinner correctly. If you absolutely need to change color, you can wrap it in a primitive and set the color there, which will be inherited down to the loading spinner.

There are two sizes, small and medium (default).