Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1017 Bytes

File metadata and controls

31 lines (21 loc) · 1017 Bytes

BBBSpinner

A loading spinner component for indicating background activity or loading states.

Demo

Usage Example

import { BBBSpinner } from 'bbb-ui-components-react';

<BBBSpinner />
<BBBSpinner size={32} />
<BBBSpinner size="2rem" />
<BBBSpinner strokeWidth={2} />
<BBBSpinner animate={false} />

Props

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.

Accessibility

  • Uses role="progressbar" and aria-busy for accessibility.
  • The spinner is hidden from assistive tech when animate.