Mods reference changedplugins/mods/reference
Nearest release: v2.1.293, published 11 hours after 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 7 Oct 2026 05:35 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 7 Oct 2026 05:37 UTC.
Upstream edited
Recorded here
Lines+22added
Lines−1removed
From line
219
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits35to this page, all time
The whole hunk
from line 219, old and new numbered
/
from line 219
219219
220220| Element | Main props | Terminal | Desktop |
221221| :- | :- | :-: | :-: |
222| [`Box`](/docs/en/plugins/mods/interface#build-a-tree-from-elements) | `key`, flex layout, `gap`, `padding`, `margin`, `width`, `height`, `borderStyle`, `backgroundColor`, `position`, `hover` | ✓ | ✓ |
222| [`Box`](/docs/en/plugins/mods/interface#build-a-tree-from-elements) | `key`, flex layout, `gap`, `padding`, `margin`, `width`, `height`, [`borderStyle`](#box-border-styles), `backgroundColor`, `position`, `hover` | ✓ | ✓ |
223223| [`Text`](/docs/en/plugins/mods/interface#build-a-tree-from-elements) | `color`, `backgroundColor`, `bold`, `italic`, `underline`, `dimColor`, `inverse`, `wrap` | ✓ | ✓ |
224224| [`Button`](/docs/en/plugins/mods/interface#respond-to-presses-and-typing) | `key`, `label`, `onPress`, `hotkey`, `plain`, `dimColor`, `autoFocus`, `action` | ✓ | ✓ |
225225| `Link` | `href`, `label` | ✓ | ✓ |
from line 233
233233| `Image` | PNG or RGBA bytes up to 2 MiB, or a file path | ✓ | |
234234
235235More `Button` rules: `action` names one of Claude Code's own [keybinding actions](/docs/en/keybindings), and the user's binding for it presses the button when that binding is a chord or a modified key. A digit `hotkey` on a button in the band also fires when the user types that digit alone into an empty prompt and pauses. When two buttons in one drawing name the same `hotkey`, the later one gets it. `autoFocus` accepts only `true` on any control, so omit the prop to leave it off.
236
237<h3 id="box-border-styles">
238 `Box` border styles
239</h3>
240
241To draw a border around a `Box`, set its `borderStyle` to one of these names, as in `borderStyle: 'round'`. Each row says what the terminal draws for that name and shows the top edge of the border.
242
243| `borderStyle` | What the terminal draws | Top edge |
244| :- | :- | :- |
245| `'single'` | Thin lines with square corners | `┌──┐` |
246| `'double'` | Double lines | `╔══╗` |
247| `'round'` | Thin lines with rounded corners | `╭──╮` |
248| `'bold'` | Thick lines | `┏━━┓` |
249| `'singleDouble'` | Thin lines on the top and bottom, double lines on the sides | `╓──╖` |
250| `'doubleSingle'` | Double lines on the top and bottom, thin lines on the sides | `╒══╕` |
251| `'classic'` | The ASCII characters `+`, `-`, and `\|` | `+--+` |
252| `'arrow'` | Arrows that point into the `Box` | `↘↓↓↙` |
253| `'dashed'` | Dashed lines with blank corners | `╌╌` |
254| `'quote'` | A bar, `▎`, down the left side and blank cells on the other three sides | Blank |
255
256A `Box` whose `borderStyle` names anything else, such as `'rounded'`, draws with no border.
236257
237258## Limits
238259
No line in this hunk matches that.