HTML & React Output, Live Previews, Polish Passes, and ZIP Export
Choose between standalone HTML, React + Tailwind, or both, compare generated templates side by side against your original screenshot, run one-click polish passes, and export ZIPs.
Every finished screenshot appears on the Templates tab in Template Factory with a live scaled preview, build metadata, and instant actions.

Choosing HTML, React, or Both
Open Settings to pick what every future build produces:
- HTML + React (default): Generates a standalone
index.html,styles.css, andscript.jsalongside a matchingreact/Template.tsxTailwind component. - HTML Only: Generates self-contained semantic HTML5, CSS, and vanilla JavaScript that opens directly in any browser with zero build step.
- React Only: Generates a clean TypeScript React + Tailwind component (
react/Template.tsx) with typed optional props and sensible defaults.
Live Preview, Side-by-Side Compare, and Code Copy
Click Preview (or click any thumbnail) to open the full interactive preview modal:
- Preview: Test interactive controls and toggle between Desktop, Tablet, and Mobile widths.
- Compare: View your original reference screenshot side by side next to the generated page.
- Code: Inspect
index.htmlorreact/Template.tsxand copy the full source with one click.
Running Single or Bulk Polish Passes
Click Polish on any template (or select multiple cards for Bulk Polish) to open the polish dialog. You can write your own instructions or stack any of the 6 built-in presets:
- + Add polish — Tightens radii, borders, shadows, and surface finish.
- + Fix typography — Sharpens heading scale, line-height, and measure.
- + Tighten spacing — Aligns section padding and card grids onto one spacing rhythm.
- + Premium effects — Adds restrained depth, hover states, and reduced-motion support.
- + Mobile pass — Checks 360px–1280px stacking, tap targets, and overflow.
- + Contrast & color — Brings text and buttons to clean readable contrast.
You can also attach reference images or spec files directly inside the polish dialog, or export clean ZIP archives via Export HTML ZIP and Export React Vite ZIP.
Need to tune your local AI CLIs? See Setting Up Local AI CLIs and Cooldown Rotation.
Frequently Asked Questions
Can I inspect a template on phone and tablet widths inside the app?
Yes. Click Preview on any template card to switch between Desktop (1280px), Tablet (768px), and Mobile (390px) viewports, or toggle Compare to view the original screenshot side by side with the live template.
What comes inside a React ZIP export?
Choosing Export React Vite ZIP packages your React + Tailwind component inside a complete runnable Vite starter project with package.json, index.html, and Tailwind CSS already wired.
Can I polish several templates at once?
Yes. Check the boxes on any templates you want to refine, click Polish at the top of the list, stack any polish presets or custom notes, and run them in one batch.