mockup-sandbox

Run a Vite-based sandbox that renders UI components in isolation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/CRAJKUMARSINGH/M3_Bridge --skill mockup-sandbox-crajkumarsingh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-sandbox
Source: https://github.com/CRAJKUMARSINGH/M3_Bridge/tree/main/.local/skills/mockup-sandbox
Command: npx skills add https://github.com/CRAJKUMARSINGH/M3_Bridge --skill mockup-sandbox-crajkumarsingh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Isolated frontend sandbox for rapid UI prototyping and live rendering on the canvas, enabling designers and developers to iterate on components without touching the main app.

Core Features & Use Cases

  • Isolated sandbox in artifacts/mockup-sandbox that runs a Vite dev server and exposes component previews at routes like /preview/{Folder}/{ComponentName}.
  • Supports side-by-side variant exploration, responsive previews, and component-state visualization on the canvas.
  • Guides workflows for extracting real components, duplicating variants, and embedding previews as iframes on the workspace.

Quick Start

Start the mockup sandbox dev server, then create a component under artifacts/mockup-sandbox/src/components/mockups/ and embed its iframe preview on the canvas.

Frequently Asked Questions about mockup-sandbox

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preview and iterate on UI components in isolation without affecting the main application?

A Vite-based mockup sandbox renders UI components in isolation at predictable preview URLs. This approach allows designers and developers to iterate on component variants on a shared canvas without touching the main application codebase.

What is the workflow for embedding live component previews on a shared design canvas?

Embedding live component previews involves running a Vite dev server within an artifacts/mockup-sandbox structure and inserting the exposed preview URLs as iframes on your canvas. This enables side-by-side variant exploration and responsive previews.

Can I use Vite to build an isolated sandbox for rapid UI prototyping?

Yes, Vite supports building an isolated mockup sandbox for rapid UI prototyping. The sandbox runs a dedicated Vite dev server that exposes component previews at predictable routes, enabling live rendering and variant exploration directly on the canvas.

How do I set up component previews using an iframe-based mockup sandbox?

Start the Vite dev server in the mockup sandbox, create components under artifacts/mockup-sandbox/src/components/mockups/, and embed the resulting preview routes as iframes on your workspace canvas. This setup supports responsive previews and component-state visualization.

Does a mockup sandbox support side-by-side variant exploration and responsive previews?

Yes, a mockup sandbox supports side-by-side variant exploration and responsive previews. By embedding multiple iframe-based component previews on the canvas, you can visualize different component states and duplicate variants for rapid design iteration.