Theme

PlaygroundBeta

npm_versionnpm Paragon package page

Spinner

A spinning animation that indicates loading.

This is a pass through component from React-Bootstrap.
See React-Bootstrap for documentation.

Basic Usage

Any Paragon component or export may be added to the code example.

Color Variants

Any Paragon component or export may be added to the code example.

Theme Variables (SCSS)#

$spinner-width: 2rem !default;
$spinner-height: $spinner-width !default;
$spinner-border-width: .25em !default;
$spinner-width-sm: 1rem !default;
$spinner-height-sm: $spinner-width-sm !default;
$spinner-border-width-sm: .2em !default;

Props API#

Spinner Props API
  • className string

    Specifies the class name for the component.

  • screenReaderText node

    Specifies the screen reader content for a11y.

Usage Insights#

Spinner

Project NameParagon VersionInstance Count
edx-ora220.9.21
frontend-app-account20.28.52
frontend-app-admin-portal20.26.37
frontend-app-authn20.34.03
frontend-app-communications20.30.11
frontend-app-course-authoring20.32.02
frontend-app-discussions20.15.011
frontend-app-learner-dashboard20.32.02
frontend-app-learning20.28.43
frontend-app-library-authoring20.30.11
frontend-app-ora-grading20.30.03
frontend-app-profile20.32.31
frontend-app-publisher20.28.52
frontend-app-support-tools20.26.01
frontend-lib-content-components20.32.010
frontend-lib-special-exams20.22.42