Skip to content

Loading Spinner ​

Use bo-loading-spinner for a compact rotating pending indicator.

Usage ​

<bo-loading-spinner />

Text and sizes ​

Loading...
<bo-loading-spinner loader-text="Loading..." text-position="after" />
<div class="flex items-center gap-3">
  <bo-loading-spinner size="sm" />
  <bo-loading-spinner size="default" />
  <bo-loading-spinner size="lg" />
</div>

API ​

PropTypeDefaultDescription
id / dataTestIdstringautogeneratedRoot attributes.
sizexs | sm | default | lg | xldefaultSpinner size.
variantprimary | secondary | success | warning | destructive | white | currentprimaryColor variant.
loaderTextstring-Text shown with the indicator.
textPositiontop | bottom | before | afterafterText position.
customColorstring-CSS color override.
role / ariaLive / ariaLabel / ariaBusynative accessibility typesstatus / polite / Loading / -Live-region semantics.

Released under the MIT License.