Skip to main content
Canvas renders a Brainstorm canvas (tool="brainstorm"). It reads token and theme from AiqlProvider. Pass only the canvas id and presentation props.

Try it live

Import

Usage

Basic

Send a message

The canvas assistant accepts a message after onReady. sendMessage expands the chat and starts the run. A send while a response is already streaming is ignored.

Custom loading and error UI

Styling

API Reference

Canvas props

token and theme come from AiqlProvider. They are not Canvas props.