Skip to content
HomePagesHomePages template kit

IslandEditor

What a `"use client"` island must declare about its editor-canvas behavior.

What a "use client" island must declare about its editor-canvas behavior. One field, and the switch it names is binary: a live island runs exactly its published behavior in the canvas, a non-live one is its static SSR content. Everything else the canvas needs — shield placement, selection — is derived from the island’s own markup or read through useEditor, never declared here.

An explicit false is a decision; a missing field was an accident wearing a decision’s clothes.

Import from @homepages/template-kit or @homepages/template-kit/island-runtime.

export interface IslandEditor {
live: boolean;
}