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 afteronReady. 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.