Draw in the interface with a mod changedplugins/mods/interface
Nearest release: v2.1.330, published 4 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 20 Nov 2026 23:34 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 20 Nov 2026 23:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−1removed
From line
207
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits36to this page, all time
The whole hunk
from line 207, old and new numbered
/
from line 207
207207| `AskUserQuestion` | The dialog Claude opens to ask you a question |
208208| `Spinner`, `ToolProgress`, `TurnDuration` | Status lines for a turn: the line that animates while Claude works, a running tool's live progress line, and the line that closes a turn |
209209| `InfoNotice`, `SessionMode`, `PromptHint` | Status lines under the logo, the mode labels in the footer, and the hint line under the prompt |
210| `AgentRow` | A subagent's or teammate's row in the agent panel |
210211
211212`Pane`, `AskUserQuestion`, `Spinner`, `UserMessage`, `AssistantMessage`, and the tool call sites work in the terminal, the Desktop app, and the VS Code extension. The [render sites table](https://code.claude.com/docs/en/plugins/mods/reference.md#render-sites) lists where each of the others is raised.
212213
from line 528
527528
528529## Build a tree from elements
529530
530What a `ui.render` hook returns is an element tree: a description of what to draw, made of boxes, text, and controls nested inside each other. You describe the drawing, and Claude Code renders it in whichever app the user has open: the terminal, the Desktop app, or the VS Code extension.
531What a `ui.render` hook returns is an element tree: a description of what to draw, made of boxes, text, and controls nested inside each other.
531532
532533To get the elements, call `$.ui.resolve(e)` in your hook, as in `const { Box, Text, Button } = $.ui.resolve(e)`. Each element is a function. You pass it props, and you put the elements and strings that go inside it in `children`.
533534
No line in this hunk matches that.