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#
| CSS Variable | Computed Value |
|---|---|
| | |
| | |
| | |
| | |
| | |
Props API#
Spinner Props API
This is a pass through component from React-Bootstrap; see original props documentation here. You can also pass any HTML attributes, such as onClick, role, etc. Which attributes are available depends on whether or not you have overriden the underlying HTML element using the as property.
- className
stringOptionally specify additional CSS classes to give this spinner's
<div>. - screenReaderText
React.ReactNodeSpecifies the screen reader content for a11y.
Usage Insights#
Spinner
| Project Name | Paragon Version | Instance Count | |
|---|---|---|---|
| edx-ora2 | 21.13.1 | 1 | |
| frontend-app-account | 23.14.8 | 3 | |
| frontend-app-admin-portal | 22.20.3 | 30 | |
| frontend-app-communications | 23.14.2 | 1 | |
| frontend-app-course-authoring | 23.15.1 | 14 | |
| frontend-app-discussions | 23.14.2 | 12 | |
| frontend-app-discussions | 23.14.9 | 1 | |
| frontend-app-learner-portal-enterprise | 22.17.0 | 3 | |
| frontend-app-library-authoring | 21.11.3 | 1 | |
| frontend-app-payment | 22.9.0 | 4 | |
| frontend-app-publisher | 23.14.8 | 2 | |
| frontend-app-support-tools | 23.4.2 | 1 | |
| frontend-lib-special-exams | 23.4.2 | 2 |