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

Toolbar

Component

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

indicator
Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { ToolbarRoot, ToolbarContainer, ToolbarButton, ToolbarSeparator, TooltipProvider, TooltipAnchor, Tooltip } from "@reopt-ai/opt-ui";

Live preview

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

100%

기본 사용


포커스 순환

ToolbarRoot

PropTypeDefaultDescription
focusLoopbooleanfalse포커스 순환 여부

ToolbarContainer

PropTypeDefaultDescription
childrenRequiredReactNode—ToolbarButton/Separator 요소들
classNamestring—기본 스타일 오버라이드

ToolbarButton

PropTypeDefaultDescription
childrenRequiredReactNode—버튼 내용
onClick() => void—클릭 핸들러
classNamestring—기본 스타일 오버라이드

ToolbarSeparator

PropTypeDefaultDescription
classNamestring—기본 스타일 오버라이드

TooltipProvider

PropTypeDefaultDescription

TooltipAnchor

PropTypeDefaultDescription
renderReactElement—앵커로 사용할 요소
childrenReactNode—앵커 내용

Tooltip

PropTypeDefaultDescription
childrenRequiredReactNode—툴팁 내용
classNamestring—기본 스타일 오버라이드

컴포넌트 의존 관계

깊이
▲ USED BY (1)editor-toolbarToolbar
View test results

테스트 커버리지

2026년 7월 9일1/1 통과
1성공
0실패
1전체
  • 버튼들을 렌더링한다

키보드 동작

키동작
← →버튼 간 탐색
Enter / Space버튼 활성화
Home첫 번째 버튼으로 이동
End마지막 버튼으로 이동

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

CompositeZone

Core

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

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.

PreviousMenuNextForm