Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.282 ·

Buttons in the built-in UI toolkit get a primary or secondary style

Buttons built with Claude Code's JSX UI toolkit now accept a variant of "primary" or "secondary", and any other value is an error

Under the hood Internal Changes
JSON All of v2.1.282
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
UI ToolkitArea: what it touches
Internal ChangesKind: in v2.1.282,
Internal ChangesSection of the release
What

Claude Code includes a small toolkit for building interface pieces with JSX, a way of writing layouts that looks like HTML. Its Button now accepts a variant option set to "primary" or "secondary". Any other value is rejected with an error, and the error message listing a Button's allowed options now includes variant.

Why

This matters to anyone writing custom interface pieces with this toolkit: buttons can now be marked as the main action or a secondary one, and a misspelled variant fails loudly rather than being ignored.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear who can use this toolkit, for example plugins or generated artifacts.

See this entry in the whole of v2.1.282 →

Feedback