Spinner
A spinning animation that indicates loading.
This is a pass through component from React-Bootstrap.
See React-Bootstrap for documentation.
Basic Usage
Show editable code example
Any Paragon component or export may be added to the code example.
Color Variants
Show editable code example
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 Name | Paragon Version | Instance Count | |
---|---|---|---|
edx-ora2 | 20.9.2 | 1 | |
frontend-app-account | 20.28.5 | 2 | |
frontend-app-admin-portal | 20.26.3 | 7 | |
frontend-app-authn | 20.34.0 | 3 | |
frontend-app-communications | 20.28.5 | 1 | |
frontend-app-course-authoring | 20.32.0 | 2 | |
frontend-app-discussions | 20.15.0 | 11 | |
frontend-app-learner-dashboard | 20.19.0 | 2 | |
frontend-app-learning | 20.28.4 | 3 | |
frontend-app-library-authoring | 20.30.1 | 1 | |
frontend-app-ora-grading | 19.9.0 | 3 | |
frontend-app-profile | 20.32.3 | 1 | |
frontend-app-publisher | 20.28.5 | 2 | |
frontend-app-support-tools | 20.26.0 | 1 | |
frontend-lib-content-components | 20.32.0 | 10 | |
frontend-lib-special-exams | 20.22.4 | 2 |