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

ChatAssistant

Block

Compose an AI assistant screen with ChatSidebar, ChatMessageList, and ChatInput.

chat
Related docs
npx @reopt-ai/opt-cli block add chat-assistant
Install and import
bash
npx @reopt-ai/opt-cli block add chat-assistant
tsx
import { ChatAssistant } from "@/components/surfaces/chat-assistant";

Live preview

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

100%

프로젝트 구조 설계

AI

새 프로젝트의 구조를 어떻게 잡으면 좋을까요?

오후 06:41
A

모노레포 구조를 추천합니다. Turborepo를 사용하면 빌드 캐싱과 태스크 오케스트레이션이 쉬워집니다. 기본 구조: - apps/ (애플리케이션) - packages/ (공유 패키지) - turbo.json (파이프라인)

오후 06:42
ShiftEnter로 줄바꿈

ChatAssistant

PropTypeDefaultDescription
conversationsChatConversationDef[]—사이드바 대화 목록
messagesChatMessageDef[]—현재 대화 메시지 배열
onSend(message: string) => void—메시지 전송 핸들러
modelsChatModelDef[]—모델 선택 옵션
stylePresetsChatStylePresetDef[]—스타일 프리셋 옵션
showSidebarbooleantrue사이드바 표시 여부
headerReactNode—상단 헤더 영역
actionsReactNode—헤더 우측 액션 버튼
loadingboolean—Surface 전체 로딩 상태
labelsChatAssistantLabels—i18n 라벨 오버라이드

컴포넌트 의존 관계

깊이
▼ USES (4)ChatAssistantchat-sidebarchat-inputchat-message-listloading-overlay
View test results

테스트 커버리지

2026년 7월 9일

생성된 테스트 결과를 찾지 못했습니다.

ChatAssistant 항목이 문서 메타에 연결되어 있지만 현재 생성 파일에는 없습니다.

테스트를 추가한 뒤 `bun run generate:test-results`를 실행하거나 `testDescribe` 매핑을 다시 확인하세요.

Related components

opt-ui

ChatInput

Shells

Compose chat messages with an autoresizing textarea, file attachments, and model and style selectors.

opt-ui

ChatMessageList

Shells

Display role-based chat bubbles, typing indicators, and automatic scrolling.

opt-ui

ChatSidebar

Shells

Browse and search AI conversations and start a new chat.

opt-ui

LoadingOverlay

Core

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

opt-ui

PropertyCatalog

Blocks

Browse discovered properties by scope and type, with inferred types explicitly labeled.

opt-ui

SqlWorkspace

Blocks

Compose a SQL editing screen from SqlEditor and QueryResultsTable.

PreviousWorkflowRunHistory