← All widgetsTier 1Creative

Drawing Canvas

Freeform sketch pad.

A freeform drawing surface you can sketch on with the mouse.

type · drawing_canvas
Runs entirely in the shell — no backend needed.

How to use it

Just ask for it in chat — the agent emits this widget and the shell renders it:

Try saying
give me a drawing canvas

Example

The agent returns this A2UI component (inside the components array of a /chat response):

drawing_canvas.json
{
  "type": "drawing_canvas",
  "width": 400,
  "height": 300
}

Properties

PropTypeDescription
widthnumberCanvas width
heightnumberCanvas height

Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.