전체 카탈로그
Feedback & StatusSpinner5 props

Spinner

An animated loading indicator for processes with unknown duration, such as data fetching or form submission. Supports visible labels, multiple sizes, and a dark background varia...

공식 문서 열기
live previewFeedback & Status

Preview

Loading states

Import

import {Spinner} from '@astryxdesign/core/Spinner';

Astryx 문서 권장 방식대로 root barrel이 아니라 컴포넌트 subpath에서 가져옵니다.

When to use

An animated loading indicator for processes with unknown duration, such as data fetching or form submission. Supports visible labels, multiple sizes, and a dark background varia...

spinnerloaderloadingcircularprogressspinactivitybusy

Important props

sizesm | md | lgoptional
shadedefault | onMedia | subtle | inheritoptional

Theming targets

astryx-spinner

Best practices

  • DoProvide a meaningful label to describe what is loading for screen reader users.
  • DoUse the "onMedia" shade when placed on dark or accent-colored backgrounds.
  • Do notUse for content areas with known dimensions; use Skeleton to preserve layout instead.
  • Do notStack multiple spinners in the same view; use one to represent the overall loading state.