본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Spinner

원문 보기 위키 갱신

Spinner는 콘텐츠가 로딩되는 동안 회전하며 진행 중임을 알려주는 컴포넌트예요. 기본 크기부터 크기 변형, 커스텀 크기, 인라인 크기까지 상황에 맞게 조절해서 사용할 수 있어요.

출처: 문서

본문

예제 (Examples)

기본 (Basic)

크기 변형 (Size variations)

커스텀 크기 (Custom size)

인라인 크기 (Inline size)

Heading Lorem ipsum dolor sit amet, consectetur adipiscing elit Sed hendrerit nisi in cursus maximus.

Second level Curabitur accumsan turpis pharetra blandit. Quisque condimentum maximus mi, sit amet commodo arcu rutrum id. Proin pretium urna vel cursus venenatis. Suspendisse potenti.

Sometimes you need small text

속성 (Props)

Spinner

이름 (Name) 타입 (Type) 기본값 (Default) 설명 (Description)
aria-label string 무엇이 로딩 중인지 설명하는 접근 가능한 라벨이에요.
aria-labelledBy string 로딩 중인 것을 설명하는 요소의 id예요.
aria-valuetext string 'Loading...' 현재 로딩 상태 또는 진행률을 설명하는 텍스트예요.
className string '' Spinner에 추가되는 클래스예요.
diameter string CSS 변수로 설정되는 스피너의 지름이에요.
isInline boolean false 스피너가 인라인이며 텍스트 폰트 크기를 상속해야 함을 나타내요. size 속성을 덮어써요.
size 'sm' | 'md' | 'lg' | 'xl' 'xl' progress의 크기 변형이에요.

GitHub에서 이 페이지 편집하기

더 알아보기 (Learn more)