reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
CompositeZone
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.

CompositeZone

Component

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

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

Live preview

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

100%

기본 사용 (2D 그리드)

A1
A2
A3
B1
B2
B3

포커스 순환 비활성화

1
2
3

CompositeZone

PropTypeDefaultDescription
childrenRequiredReactNode—CompositeRow + CompositeItem 자식
labelRequiredstring—aria-label 값
focusLoopbooleantrue포커스가 끝에서 처음으로 순환
focusWrapbooleantrue행 끝에서 다음 행으로 이동
classNamestring—컨테이너 CSS 클래스

컴포넌트 의존 관계

깊이
▲ USED BY (2)dashboard-griddata-tableCompositeZone
View test results

테스트 커버리지

2026년 7월 9일1/1 통과
1성공
0실패
1전체
  • grid role과 접근성 레이블을 가진 composite 영역을 렌더링한다

키보드 동작

키동작
↑ ↓ ← →2D 방향 탐색
Home첫 항목으로 이동
End마지막 항목으로 이동
Tab영역 밖으로 이동

Related components

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

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.

opt-ui

Spinner

Core

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

opt-ui

Skeleton

Core

Reserve space while loading with text, circular, rectangular, and preset skeleton components.

PreviousStatCardNextDisclosure