Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Layer: chrome

Floating chrome control — usually a close button on a card corner.

{
  "type": "chrome",
  "id": "close",
  "layout": { "host": "content", "anchor_h": "right", "anchor_v": "top" },
  "button_style": "icon_close_button",
  "interaction": { "hooks": { "on_click": "close" } }
}

Usually you need

KeyTypeEffect
type"chrome"Required
interaction.hooks.on_clickactionOften "close"
button_stylestringPack id; empty → info_close_button

All keys

KeyTypeEffect
type"chrome"Required
idstringIdentity
label / label_keystringCaption (optional for icon-only)
button_stylestringNamed button pack
icons / icon fields—Glyphs
layoutobjecthost: "screen" (window, default — stays fixed while content scrolls) | "content" (overlay first content card; scrolls with layout.mode: scroll) ; anchors / offsets
interactionobjectHooks
state_visualobjectPer-state
order / style / modulate / scale—Layer fields

Packs: Named button packs. Actions and hooks · Layout and host.