eds-spinner

Explore the Interactive Component

Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.

See It in Use with Code

Check out this practical implementation of component.

Plain HTML

In React

In fullscreen={false} a parent div with defined dimensions must exist.

In Vue

In fullscreen={false} a parent div with defined dimensions must exist.

Properties

PropertyAttributeDescriptionTypeDefault
backgroundbackgroundBackground overlay colorstring'var(--grey-light)'
fullscreenfullscreenWhen true, the spinner covers the entire viewport.booleanfalse
messagemessageOptional message displayed below the spinner.stringundefined
sizesizeSize preset: ‘xs’ | ‘md’ | ’lg’ | ‘xl’"lg" | "md" | "sm" | "xl" | "xs"'md'
variantvariantColor variant:"primary" | "secondary"'secondary'

Dependencies

Used by

Graph

graph TD;
  eds-gitlab-contributors --> eds-spinner
  eds-global-search --> eds-spinner
  eds-kg-learning-resources --> eds-spinner
  style eds-spinner fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS