ChatAssistant
BlocksCompose an AI assistant screen with ChatSidebar, ChatMessageList, and ChatInput.
Display role-based chat bubbles, typing indicators, and automatic scrolling.
bun add @reopt-ai/opt-uiimport { ChatMessageList } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
Compose an AI assistant screen with ChatSidebar, ChatMessageList, and ChatInput.
Compose chat messages with an autoresizing textarea, file attachments, and model and style selectors.
Browse and search AI conversations and start a new chat.
Represent users with images, generated initials, accessible status indicators, and avatar groups.
Explain an empty view with an icon, title, description, and action button.
Provide custom scrollbars for vertical, horizontal, or bidirectional scrolling.
Organize FAQ questions and answers with Composite and Disclosure components.