EDS4 logo
@eds/loading
v4.1.0

Loading

Provides a visual cue that the application is processing data.
Prop
Required
Description
Type
size

Optionally set the size of the LoadingSpinner. Defaults to medium.

"small" | "medium"
ariaLabel

Optionally set the aria-label of the LoadingSpinner. Defaults to Loading. This will be read out by assistive technologies via its role="alert".

string
Prop
Required
Description
Type
borderRadius

The borderRadius property rounds the corners of an element's outer border edge.

"small" | "medium" | "large" | "xlarge" | "none" | "full"Supports responsive prop syntax
as

"span" | "div" | "li"
isLoading

When true, renders a skeleton placeholder; otherwise, it renders the children as-is.

boolean