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

ProjectSwitcher

Shell

Search and switch projects with a fuzzy-search combobox.

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

Live preview

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

100%

기본 사용

선택된 프로젝트: my-app

ProjectSwitcher

PropTypeDefaultDescription
projectsRequiredProjectDef[]—프로젝트 목록. { id, name, framework, status, domain? }
valuestring—제어 모드: 현재 선택된 프로젝트 ID
onChange(id: string) => void—프로젝트 선택 핸들러
placeholderstring"프로젝트 검색..."검색 입력 플레이스홀더

컴포넌트 의존 관계

깊이
▼ USES (1)ProjectSwitchercombobox
View test results

테스트 커버리지

2026년 7월 9일4/4 통과
4성공
0실패
4전체
  • combobox role을 렌더링한다
  • placeholder를 표시한다
  • 선택된 프로젝트를 placeholder로 표시한다
  • 프로젝트 레이블을 표시한다

Related components

opt-ui

ContentTabs

Shells

Switch between content panels with a wrapper around the Tabs primitive.

opt-ui

SidebarNav

Shells

Navigate a sidebar with Composite keyboard support and automatic pathname synchronization.

opt-ui

AppMenubar

Shells

Use a desktop-style menu bar with checkbox and radio menu items.

opt-ui

CommandPalette

Shells

Find commands with a Cmd+K-style palette combining Dialog, Combobox, and fuzzy search.

opt-ui

CommandPaletteTrigger

Shells

Open CommandPalette with an automatically bound Cmd+K shortcut.

opt-ui

Sidebar

Shells

Compose collapsible navigation with header, content, footer, groups, and items, plus a Ctrl+[ shortcut.

PreviousDeploymentTimelineNextEnvPanel