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.