With your agent
Copy the prompt into your coding agent with your prototype’s project open.
A reversible lo-fi layer for working prototypes, so reviews focus on structure, content and flow — not pixels.
Copy the prompt into your coding agent with your prototype’s project open.
A working prototype — click around. Press \ inside it for the real panel.Tap the launcher in its corner for the real panel.
These are the panel's own controls. Your edits save per theme and copy straight into the repo's config.
One small browser runtime, added the way your project already works. No need to rewrite your prototype, and one command takes it out again.
Copy the prompt into your coding agent with your prototype’s project open.
Run from your prototype’s project folder.
This page is served from your computer, so the command only works on this machine.
Download unpolish.js into an unpolish/ folder, put unpolish.config.json next to your pages (schema), and add to the <head>:
<script src="unpolish/unpolish.js"
data-config="unpolish.config.json" defer></script>
To remove: delete the tag, the folder and the config.
Install the exact version, then start it once in browser code. Importing is safe during server rendering.
import { init } from 'unpolish'; init({ configUrl: '/unpolish.config.json' });
Put the config in public/. To remove: delete the call and uninstall.
Installed with the command? Remove it with . Framework notes, configuration and updating: the guide. Download the package.
Review links keep the page, query and hash, open in your saved preset, and can hide the controls.
Short answers about how Unpolish works.
Reversible lo-fi themes — Black & White, Sketch, Blueprint, Pastel Blocks — for working web prototypes. Every click, route and form keeps working; Original puts everything back. One framework-independent browser runtime, added with the installer, a script tag, or a downloaded bundle.
No. Themes live in one <style id="unpolish-theme"> layer, data-up attributes and a hidden SVG filter set. Original removes all of it. They change colours, outlines, backgrounds, radii, shadows and fonts — never size, padding, position or border width. No element is replaced, wrapped or covered, so handlers, focus, form values, scroll and routes stay as they are.
Vite with React, Vue and Svelte is tested end to end. Other setups such as vanilla Vite are supported per the docs but not tested end to end.
Run npx unpolish@latest remove (add --purge to delete unpolish.config.json too). That takes out the marked install block, generated Next.js client, Unpolish script tags, the vendored bundle and the dependency. Lines you added by hand without markers are reported, not guessed at. A small unpolish:* entry may remain in localStorage; it does nothing without the script.
Unpolish does not send your prototype to a server. Panel edits are saved in this browser only. Visitors may keep a small unpolish:* entry in localStorage. If web fonts are left on (the default), the runtime loads fonts from Google Fonts; set "webFonts": false to use system fonts instead.
Yes. The default install scope is every build — local, preview and production — because review links only work where Unpolish is loaded. Use --scope dev or env:NAME to leave it out of some builds, or set "enabled": false in a build’s config. Hiding the controls ("ui": "hidden") is not access control; anyone can still press \.
Copy a review link: the current URL plus ?unpolish=<theme> and, optionally, &unpolish-ui=hidden. Values are original, black-white, sketch, blueprint and pastel. Links keep your app’s own query and hash. On the page, \ or the launcher opens the panel; 1–4 pick a theme while it’s open, 0 restores Original, Esc closes.
Yes. Unpolish is published as the public npm package unpolish under the MIT License. The source is on GitHub.