What problem does it solve?
The mockup-sandbox Skill solves the problem of creating realistic, accurately styled UI previews by rendering web components live so they can be embedded on the workspace canvas.
Core Features & Use Cases
- Live iframe-rendered components: Prototype UI elements as standalone preview routes so the canvas shows the actual rendered component instead of static shapes.
- Rapid iteration for design variants: Compare multiple layout or styling hypotheses side-by-side, including responsive (mobile/tablet/desktop) and component states (loading/error/empty).
- Isolated prototyping environment: Runs a Vite dev server in an isolated artifacts area with a generated component registry for consistent preview routing.
- Extraction-first workflow support: For redesigns of existing app components, follow the extract-first pattern to avoid hand-coding incorrect dimensions and spacing.
Quick Start
Activate mockup-sandbox to prototype a component by creating one or more preview components and embedding their iframe previews on the canvas using the generated /preview routes.