Message Thread Collapsible

A collapsible message thread component that can be positioned anywhere on your page. Features chat history, input field, and expand/collapse functionality. Perfect for adding contextual AI assistance without taking up permanent screen space.

Examples

Basic Usage

Installation

$
npx tambo add message-thread-collapsible

Component API

MessageThreadCollapsible

PropTypeDefaultDescription
contextKeystring-Unique identifier for the conversation thread
defaultOpenbooleanfalseWhether the thread starts expanded or collapsed
classNamestring-Additional CSS classes for positioning and styling