@interactive-os/preview-surface
v0.1.0
Published
Shadow DOM preview surface primitives for indexing web-rendered DOM into editable object snapshots.
Maintainers
Readme
@interactive-os/preview-surface
Shadow DOM preview primitives for AI-assisted UI development tools.
The package treats browser-rendered DOM as the viewer truth:
- render web artifacts into a
ShadowRoot - index rendered elements into stable preview nodes
- read bounds and selected computed style fields
- read React/component provenance from
data-surface-*attributes
It does not own source patching, canvas rendering, local file IO, or React runtime orchestration.
