mockup-sandbox

Runs a Vite dev server for iframe-based previews of frontend mockups.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Celia-12/Proyecto-Mern --skill mockup-sandbox-celia-12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-sandbox
Source: https://github.com/Celia-12/Proyecto-Mern/tree/main/frontend/.local/skills/mockup-sandbox
Command: npx skills add https://github.com/Celia-12/Proyecto-Mern --skill mockup-sandbox-celia-12

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides an isolated frontend sandbox to prototype and preview UI components on a canvas, eliminating the need to embed the main app URL and enabling rapid iteration with a dedicated Vite dev server and iframe-based previews.

Core Features & Use Cases

  • Isolated component previews via a Vite dev server
  • Iframe-based rendering on the canvas for live UI previews
  • Variant exploration and subagent orchestration for design directions
  • Support for mockup-extract when pulling real components from the main app
  • Mockup-graduate workflow to integrate approved mockups into the app
  • Auto rescanning on 404s and hot-reload of previews for smooth iteration

Quick Start

Start the Vite mockup server and load a component on the isolated canvas to preview and iterate.

Frequently Asked Questions about mockup-sandbox

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

FAQPage Schema
How do I create live UI previews for isolated component mockups?

Live UI previews for isolated component mockups are generated by running a local Vite dev server that renders frontend components in iframe-based canvases, enabling rapid iteration without embedding the main application URL.

What is the best way to compare UI design variants in a sandbox environment?

Comparing UI design variants in a sandbox environment is handled through subagent orchestration, where DESIGN subagents explore different design directions and render them as isolated iframe previews on the main canvas for direct comparison.

Can I extract existing components from my main app for UI prototyping?

Yes, you can extract existing components from a main application using the mockup-extract workflow, which pulls real UI elements into the isolated Vite sandbox for local modification and live previewing.

How do I integrate approved UI mockups back into a main application?

Approved UI mockups are integrated back into a main application using the mockup-graduate workflow, which transitions validated component designs from the isolated sandbox into the production codebase.

Why does my Vite dev server return a 404 during UI prototyping?

A Vite dev server returning a 404 during UI prototyping triggers an automatic rescanning mechanism within the mockup-sandbox, which detects the missing resource and reloads the iframe preview to restore the hot-reload iteration cycle.

Do I need a Vite dev server to prototype responsive views on a canvas?

Yes, a Vite dev server is required to prototype responsive views on a canvas, as it provides the isolated local hosting environment and hot-reload capabilities necessary for rendering iframe-based UI previews.