{"version":"2.1.317","anchor":"plugin-backdrop-api-new-uibackdrop-function-hook","canonical_anchor":"plugin-backdrop-api-new-uibackdrop-function-hook","heading":"Plugins can draw a translucent backdrop behind Claude Code","tier":"use","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317\/e\/plugin-backdrop-api-new-uibackdrop-function-hook","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.317","markdown":"### Plugins can draw a translucent backdrop behind Claude Code\n\nA new ui.backdrop function lets plugins draw a blurred, tinted backdrop, and connecting clients can say they draw a Backdrop\n\n**Unclear.** Whether plugin function hooks are switched on by default, and whether the terminal shows the backdrop, is not clear.\n\n**What**\n\nPlugins, add-ons that extend Claude Code, can now draw a backdrop behind the terminal interface.\n\n- A plugin calls `ui.backdrop` with `{ backdrop: { id, glass? } }`.\n\n- The optional glass settings are blur (from 0 up to a maximum), opacity (0 to 1) and a raw tint colour. The defaults are blur 16 and opacity 0.6.\n\n- Calling it with undefined clears that plugin's backdrop.\n\n- Arguments are checked, and bad ones return messages such as 'glass.opacity is a number, 0 to 1'.\n\n- The `ui_attach` request, sent by a client that connects to show a session, gains a `draws` list naming extra components that client draws, such as `Backdrop`. A list of more than 16 names is refused.\n\n**Why**\n\nPlugins get a new visual surface, and clients that show a session elsewhere can say whether they draw it.\n\n- Area: Plugins\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}