{"version":"2.1.283","anchor":"pane-jsx-button-accepts-roledismiss","canonical_anchor":"pane-jsx-button-accepts-roledismiss","heading":"Pane buttons can be marked as dismiss buttons","tier":"use","area":"Mods","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/pane-jsx-button-accepts-roledismiss","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### Pane buttons can be marked as dismiss buttons\n\nButtons in pane layouts now accept a role of \"dismiss\", and any other role value is rejected with an error\n\n**Unclear.** What Claude Code does differently with a dismiss button is not clear.\n\n**What**\n\nButtons built with the toolkit used for panes now accept a `role` setting. The only allowed value is `\"dismiss\"`. Any other value causes an error, and the error that lists a button's valid settings now includes it.\n\n**Why**\n\nPeople who build pane or plugin screens can mark a button as the one that closes or dismisses the pane.\n\n- Area: Mods\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5"}