Help Center
Templates 2 min read · Updated 2026-12-04

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.

Template Factory Templates gallery showing live HTML and React previews with Polish and Export ZIP controls
Templates gallery with live scaled previews, format badges, polish actions, and ZIP export

Choosing HTML, React, or Both

Open Settings to pick what every future build produces:

  • HTML + React (default): Generates a standalone index.html, styles.css, and script.js alongside a matching react/Template.tsx Tailwind 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.html or react/Template.tsx and 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.

Helpful?
Template Factory
Ready to try it or check your settings?

More Template Factory guides