Canvas Space

A dedicated area that dynamically displays interactive UI components generated within a Tambo chat thread. It automatically updates to show the latest generated component and clears when switching threads.

Example

Canvas is empty

Interactive components will appear here as they are generated

Tambo Conversations

Loading threads...

Installation

$
npx tambo add canvas-space

Component API

CanvasSpace

PropTypeDefaultDescription
contextKeystring-The context key identifying which thread to display generated components from
classNamestring-Optional CSS class names to apply custom styling to the canvas container