Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Plugin UI components gain an autoFocus prop

Plugin Button, Input, and Select components can now be given autoFocus, and Button also gains action and dimColor props

Group of 2 Use it now Improvements
JSON All of v2.1.271
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Plugin UIArea: what it touches
ImprovementsKind: in v2.1.271,
What probably matters to youSection of the release

What

Plugin UI components used when rendering plugin panes gained new props:

  • Button now accepts action (must be one of the engine's existing keybinding actions, such as app:cycleDiffBase or app:diffFileListDown; engine-only keys like ctrl+c/ctrl+d still can't be rebound), plus a dimColor boolean.
  • Button, Input, and Select all gain an autoFocus prop.

Why

Plugin authors building custom UI panes can now make a button trigger an existing app action, dim button text, and have a component automatically receive focus when it appears, without writing custom focus-handling logic.

Read from
Names in the bundleautoFocus
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up autoFocus, on Draw in the interface with a mod. * **`autoFocus`**: to choose which control has the focus when the pane opens, add `autoFocus: true` to it. The prop accepts only `true`, so omit it on the other controls. plugins/mods/interface see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up autoFocus, on Draw in the interface with a mod.

See this entry in the whole of v2.1.271 →

Feedback