Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.257 ·

Button JSX element gains hotkey and plain props, and infers label from a single string child

The internal Button element can infer its label from a string child and takes hotkey and plain props.

TierUnder the hoodhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaTerminal UIwhat it touches
KindInternal Changesin v2.1.257,
Under the hood

The internal Button element can infer its label from a string child and takes hotkey and plain props.

The internal UI <Button> JSX element can now infer its label from a single string child instead of requiring a label prop. It also gains two new optional props: hotkey, which must be a single digit, and plain, a boolean; both are validated and passed through to the rendered button.

Read from
Names in the bundlehotkeyplain
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.

Added since A small documentation edit on Environment variables touched a line naming plain after this was published. | `CLAUDE_CODE_WEBFETCH_DEADLINE_MS` | Upper bound in milliseconds on how long [WebFetch](/docs/en/tools-reference#webfetch-tool-behavior) waits for a page to download, including any redirects it follows. A download that hasn't completed b… env-vars see the edit
Confirmed since Anthropic's documentation has since written up plain, on Configuration file reference. | `allow_insecure_mirror` | boolean | `false` | Allows `http://` mirror URLs in this file (the Settings page accepts `https://` only). Off by default because a plaintext mirror lets an on-path attacker substitute packages. | claude-science/configuration-file-reference 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 plain, on Configuration file reference.

See this entry in the whole of v2.1.257 →

Feedback