What problem does it solve?
This skill provides an isolated, end-to-end frontend sandbox to rapidly prototype, preview, and iterate UI components on a canvas without affecting the main application. It enables live rendering via a Vite dev server, isolated routes for component previews, and a structured workflow that supports extraction, variant creation, and canvas embedding.
Core Features & Use Cases
- Isolated sandbox located at artifacts/mockup-sandbox for rapid UI prototyping with live previews accessible via /__mockup/preview/{folder}/{ComponentName}.
- Clear workflow: extract existing components with mockup-extract before redesigns; create variations and embed as iframes on the workspace; supports multi-viewport previews and state variants (loading, error, empty).
- Full setup and resources: a dedicated Vite project with mockupPreviewPlugin, generated component registry, and shadcn/ui components; provides assets/scripts/references as needed.
Quick Start
Start the mockup sandbox workflow, create a mockup component under artifacts/mockup-sandbox/src/components/mockups, then embed it on the canvas using the iframe preview URL.