--- title: "Canvas & Preview Integration" description: "Connect a same-origin composition iframe to the SDK for hit-testing, draft preview, and selection." --- The SDK's `PreviewAdapter` interface decouples the editing model from the visual surface. For browser-based editors, `createIframePreviewAdapter` bridges the SDK to a same-origin `