Canvas Space

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

Example Prompt

Try this prompt in the chat interface

Generate a line chart showing monthly website traffic:
  - Title: "Monthly Website Visitors"
  - Labels: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug
  - Datasets:
    - Unique Visitors: 5K, 6.2K, 7.1K, 6.8K, 8K, 9.5K, 11K, 10.5K
    - Page Views: 25K, 30K, 35K, 33K, 40K, 48K, 55K, 52K
  - Use the default variant, medium size
  - Show tooltips and the legend

Preview

Canvas is empty

Interactive components will appear here as they are generated

Installation

$
npx tambo add canvas-space