reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
Spinner
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Spinner

Component

Indicate loading in three sizes, with an aria-hidden mode for decorative use.

indicator
Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { Spinner } from "@reopt-ai/opt-ui";

Live preview

Change the width and theme, then interact with the components.

100%

Sizes

Small (16px)

Medium (24px)

Large (32px)

Colors

Usage guidance

Best practices

  • Give standalone loading indicators an aria-label describing the task. Use aria-hidden when a surrounding status already announces it.

Usage to avoid

  • Spinner does not manage request progress or error handling.

Usage examples

Named loading indicator

Spinner

PropTypeDefaultDescription
size"sm" | "md" | "lg""md"스피너 크기

컴포넌트 의존 관계

깊이
▲ USED BY (2)loading-overlayasync-comboboxSpinner
View test results

테스트 커버리지

2026년 7월 9일4/4 통과
4성공
0실패
4전체
  • status role을 갖는다
  • aria-label을 갖는다
  • aria-hidden이면 장식용으로 렌더링한다
  • size에 따른 크기를 적용한다

Related components

opt-ui

LoadingOverlay

Core

Overlay a loading state with one aria-busy live region and no duplicate status announcements.

opt-ui

Kbd

Core

Display keyboard shortcuts as inline key badges.

opt-ui

StatCard

Core

Show a metric with its value, change, and supporting description. Omit the change row when no comparison is available.

opt-ui

CompositeZone

Core

Navigate child elements in two dimensions with arrow keys using a Composite container.

opt-ui

Toolbar

Core

Group actions in a toolbar with buttons, separators, and tooltips.

opt-ui

Badge

Core

Display inline status badges with five color variants and an optional status dot.

PreviousBadgeNextAlert