POLPOUI

Components

All available chat UI components in @polpo-ai/chat.

The @polpo-ai/chat package provides a complete set of composable React components for building chat interfaces. Components are organized into four categories.

Core

ComponentDescription
ChatAll-in-one chat widget with provider, messages, and input
ChatInputText input with file attachments and send/stop controls
ChatMessagesVirtualized, auto-scrolling message list
ChatMessageSingle message renderer for user and assistant messages
ChatProviderContext provider that wires up chat state and file uploads

Sessions

ComponentDescription
ChatSessionListFlat list of chat sessions with selection and delete
ChatSessionsByAgentSessions grouped by agent with count badges

Landing

ComponentDescription
ChatLandingFull-page landing with greeting, input, and suggestions
ChatSuggestionsGrid of clickable suggestion prompts
ChatAgentSelectorDropdown picker for switching between agents

Interactive

ComponentDescription
ChatAskUserMulti-question form for agent-initiated user prompts
ChatScrollButtonFloating scroll-to-bottom button with new-message indicator
ChatTypingAnimated three-dot typing indicator
ChatSkeletonSkeleton loaders that mirror real message layout

Tools

ComponentDescription
ToolCallShellExpandable shell for tool call results with status indicators

On this page