mockup-sandbox

Render live web UI component previews in canvas iframes via Vite.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor --skill mockup-sandbox-naopensedoit2-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-sandbox
Source: https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor/tree/main/.local/skills/mockup-sandbox
Command: npx skills add https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor --skill mockup-sandbox-naopensedoit2-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the challenge of designing and validating web UI by letting you see live, rendered components directly on the workspace canvas instead of relying on static shapes or approximate guesses.

Core Features & Use Cases

  • Isolated live UI sandbox: Render components in a dedicated artifact using a Vite dev server so previews behave like real UI.
  • Canvas-embed previews via iframes: Each mockup component is exposed on a path-based preview route that can be embedded on the canvas.
  • Rapid iteration and state previews: Prototype responsive layouts and UI states (loading, empty, error) and iterate quickly with hot reload.
  • Variant comparison: Produce side-by-side design alternatives (including orchestration for multiple variants) to compare structure, content strategy, and interaction patterns.
  • Guardrails for redesign: Includes an explicit extract-first workflow to avoid hand-coding inaccurate reimplementations of existing components.

Quick Start

Ask the AI to mock up a specific UI component (for example, "Create two iframe-based mockup variants of a pricing card, one minimal and one bold") and then place the resulting preview iframes on the canvas using the mockup-sandbox preview routes.

Frequently Asked Questions about mockup-sandbox

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

FAQPage Schema
How do I preview React UI components live on a canvas instead of using static shapes?

You can preview live React UI components on a canvas by embedding standalone Vite dev server preview routes into canvas iframe shapes. This method renders actual UI components directly for rapid iteration without relying on static mockups.

Can I compare multiple UI variants side-by-side during prototyping?

Yes, you can compare multiple UI variants side-by-side during prototyping. The sandbox orchestrates design alternatives to evaluate structure, content strategy, and interaction patterns, including responsive layouts and different UI states like loading or error.

How do I set up a Vite dev server for iframe embedding in UI prototyping?

Setting up a Vite dev server for iframe embedding requires an artifacts-based isolated server environment. You must follow strict iframe preview URL conventions and path-based component discovery to ensure correct asset handling and avoid silent 404 rendering failures.

Why does my iframe embedded component show a silent 404 or rendering failure?

Iframe embedded components show silent 404 or rendering failures when strict iframe preview URL conventions and correct asset handling rules are not followed. Ensure your path-based component discovery and isolated Vite server configurations are correctly set up.

What is the best way to redesign existing web UI components without hand-coding inaccuracies?

The best way to redesign existing web UI components without inaccuracies is using an explicit extract-first workflow. This guardrail prevents hand-coding inaccurate reimplementations by validating structure and behavior through live rendered mockups before finalizing.