A loading spinner component for indicating background activity or loading states.
import { BBBSpinner } from 'bbb-ui-components-react';
<BBBSpinner />
<BBBSpinner size={32} />
<BBBSpinner size="2rem" />
<BBBSpinner strokeWidth={2} />
<BBBSpinner animate={false} />| Prop | Type | Default | Description |
|---|---|---|---|
size |
number | string | 48 | The width and height of the spinner (px or CSS string). |
strokeWidth |
number | 4 | The thickness of the spinner stroke. |
animate |
boolean | true | If false, disables the animation. |
- Uses
role="progressbar"andaria-busyfor accessibility. - The spinner is hidden from assistive tech when
animate.
