
Security News
Socket Releases Free Certified Patches for Nuxt Security Vulnerabilities
Socket releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.
mockup-gallery
Advanced tools
Local design review tool for HTML mockups — rate, select, save, and track implementation
A local design review tool for browsing, rating, and selecting HTML mockups. Works with any project — auto-detects Next.js routes, SwiftUI views, Python endpoints, and static pages.
# From your project directory (must have a mockups/ folder with .html files)
npx mockup-gallery
# Or point to a specific project
npx mockup-gallery --project /path/to/project --dir mockups
The gallery opens at http://localhost:8787 (auto-increments if busy). Each project gets a stable port based on its path, so multiple galleries can run simultaneously.
.mockup-gallery/state.json#preferences.wireframeFirst. Flip OFF to allow hi-fi directly.DESIGN.md in Google's design-system format for visual identity (colors, typography, spacing, elevation, shape), AND per-route .mockup-gallery/handoff/<slug>.md files emitted on /selected for interaction / data / state / connector contracts. Scaffold the design system via POST /design-system/scaffold.SELECTED Top — mockups assigned to pages/screens
ACTIVE Middle — all current mockups (yay/nay just marked, not moved)
SAVED Below active — bookmarked for later reference
ARCHIVE Bottom — reviewed and set aside
The gallery auto-detects your project type and available pages/screens:
| Project Type | Detection | Route Source |
|---|---|---|
| Next.js App Router | app/ dir with page.tsx | File-system routes |
| Next.js Pages | pages/ dir | File-system routes |
| SwiftUI | *View.swift files | View names + platform tags |
| Python (Flask/FastAPI) | @app.route decorators | Decorated endpoints |
| Static | HTML files in public/ | Filenames |
--project <path> Project root (default: cwd)
--dir <path> Mockups directory (default: auto-detect mockups/, docs/mockups/, .claude/mockups/)
--port <number> Starting port (default: stable hash of project path in 8787-8886 range)
Install as a Claude Code plugin for session-start status and slash commands:
claude plugin add /path/to/mockup-gallery
Or add to .claude/plugins.json:
{
"plugins": [
{ "path": "/path/to/mockup-gallery" }
]
}
/mockup-gallery — Single Claude Code entry point for launch, status, feedback, sessions, selected-build handoff, implementation guidance, and sync checks/mockup-gallery implement or /mockup-gallery handoff to map changed UI elements to static/dynamic data, actions, connectors, visualizations, and unresolved questionsAll data lives in .mockup-gallery/ inside the project root:
.mockup-gallery/
state.json Top-level: schema version, currentSession, preferences (wireframeFirst, ...)
selections.json Ratings + notes (legacy flat layout)
selected.json Selected build (pages, components, saved) (legacy flat layout)
implemented.json Implementation tracking
accepted-designs.json Approved design patterns
handoff/ Per-route implementation handoff specs (Markdown) — written on /selected
sessions/<slug>/ Sessions-mode equivalents of selections/selected/handoff
The project-root DESIGN.md (Google design-system format) lives alongside package.json, not under .mockup-gallery/ — it is the visual-identity source of truth shared by mockup-gallery, ad-hoc design tools, and AI coding agents.
Add .mockup-gallery/ to .gitignore if you don't want to track review state in version control.
mockups/
01-homepage.html Active mockups
02-settings-page.html
archive/ Archived mockups (moved via gallery UI)
old-version.html
Mockups are plain HTML files — build them however you like. The gallery serves them in an iframe.
This package ships an additive Codex plugin surface alongside the existing Claude Code package. The Claude package remains authoritative for Claude behavior; the Codex package adds a parallel .codex-plugin/plugin.json install surface without changing the Claude runtime.
Package root for Codex installs:
.)Primary Codex surface:
./skills/(none) when presentCodex can use the mockup-review skill to create scratch-first HTML mockups, optionally use image generation for local visual assets when it materially improves review quality, launch the gallery, read selected state, and implement approved designs.
Install the package from this package root using your current Codex plugin install flow. The Codex package is additive only: Claude-specific hooks, slash commands, and agent wiring remain unchanged for Claude Code.
FAQs
Local design review tool for HTML mockups — rate, select, save, and track implementation
The npm package mockup-gallery receives a total of 9 weekly downloads. As such, mockup-gallery popularity was classified as not popular.
We found that mockup-gallery demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.