UISandbox

Design on the app itself, not on a canvas

A canvas is the right place to draw a screen that does not exist yet. Once the app runs, the mock-up and the code drift apart, and a new brand colour tried in a design tool is tried on a picture of your app. UISandbox puts the knobs on the app itself, in your browser.

What the browser shows that a canvas does not

Your real data, at its real length: the customer name that wraps, the table with 40 rows, the empty state nobody drew. Every screen, not the three that were mocked up. The hover and focus states your CSS already has, and your own dark mode, switched on your own hooks. The fonts as your users' browsers render them. Change the corner radius here and you see it on every card, input and button at once, because it is one value in your CSS.

When a canvas is still the better tool

UISandbox changes values: colour, type, shape and space. It does not move a button, redraw a layout or add a screen. For a new flow or a new page, sketch it on a canvas first. When the layout itself reads as generic (a centred hero with a badge, three identical icon cards), it says so to your agent as advice, because no knob can fix that.

From the browser back to your design tool

Nothing is lost on the way back. On a UI kit, the export ships W3C design tokens that Tokens Studio and Figma variables import, next to the kit's own theme file. On your own app you get tokens for CSS, Tailwind, shadcn, Swift and Android, or a patch for your source.

Isn't this the browser's Inspect?

Same instinct, different scale. DevTools changes one declaration on one element and forgets it when you reload. Here every literal becomes a variable first, so a colour moves everywhere it is used, and what you turn comes out as code. What Inspect does better: it is already open, and it changes the live page, scripts and all.

Questions

Do I need a Figma file?

No. You start from the app you are running, or from one of eight UI kits as they ship: shadcn/ui, Tailwind CSS, daisyUI, Bootstrap, Material 3, Radix Themes, Mantine and Ant Design.

Is it a canvas tool?

No. There is no canvas to draw on. The stage is your app, rendered 1:1 in a sandboxed frame, and the knobs are on the left.

More guides