What problem does it solve?
It solves the problem of redesigning or iterating on an existing UI by ensuring the canvas uses the exact component implementation and styling from the main app, instead of an inaccurate hand-built approximation.
Core Features & Use Cases
- Component extraction from app code: Pulls a target component and its import graph into the
mockup/ sandbox while rewriting paths for the sandbox environment.
- Dependency handling with fidelity: Copies inline and larger dependencies, and stubs external boundaries like APIs, routing, and global state so the component can run safely in isolation.
- Canvas-ready preview embedding: Embeds the extracted result as an iframe using the sandbox
/preview/ URL, keeping iterations independent from the main app.
- Style and font scoping: Builds a group-scoped
_group.css by collecting app global styles and font imports for visual parity without leaking tokens globally.
Quick Start
Ask the assistant to put your existing Settings page on the canvas for redesign, and it will extract the real code and dependencies into the mockup sandbox for an accurate preview iframe.