Skip to content

Framer → Vite + React

Framer to Vite, static files you own.

Prefer Vite to Next.js? Choose Vite + React before converting and get the same React components, styles and runtime with a Vite shell. `vite build` writes a static site, one HTML file per page, that any static host can serve.

No card needed to convert. Only sites you own.

01

Same components as Next.js

Components, styles and the runtime replacements are identical to the Next.js output; only the shell changes: index.html, vite.config.ts and app/main.tsx.

02

Static output

npm run build writes dist/ with one HTML file per page, each with its own title and description, and a 404.html.

03

Built before you see it

Every Vite conversion is installed, type-checked and built with vite build before it is offered, and Compare serves that build.

Framer to Vite

What the Vite project contains

A plain Vite + React app a front-end developer recognises at once.

  • index.html and vite.config.ts: the Vite shell
  • app/main.tsx: picks the page for the address and renders it
  • app/route-data.ts: every page with its path, title and description
  • components/: one .tsx file per Framer component
  • styles/, public/, runtime/ and user/: the same as the Next.js project

Framer to Vite

Vite or Next.js?

Choose Vite when you want static files and no server: any static host, a CDN bucket or GitHub Pages can serve the build. Pages are rendered by React in the browser and moving between pages is a normal page load. Choose Next.js when you want each page's HTML rendered on the server or at build time, server code such as route handlers, or a host built around Next.js.

  • Static hosting with nothing to run: Vite
  • Server-rendered HTML, route handlers, server actions: Next.js
  • Converting, the credit and the download cost the same for both

How it works

Three steps, all in your browser.

  1. 01

    Add your site

    Paste the address of your published Framer site. Prove it is yours with a meta tag in your site's custom code or a DNS TXT record.

    framer.website, framer.app or your own domain
  2. 02

    Convert for free

    We read your published pages and their code, then build a Next.js project, or Vite + React if you choose it. Watch every step live: convert, clean up, install, type check, build.

    No card needed
  3. 03

    Compare, unlock and download

    Compare the result with your live site side by side for free, then read every file and download the project. Run it anywhere, keep it forever.

    One credit per conversion for the code

FAQ

Framer to Vite: questions

How do I get a Vite project instead of Next.js?

Pick Vite + React as the project type before converting. The rest works the same way: convert for free, unlock with one credit, download the ZIP.

Which Vite version does the project use?

Vite 8 with the official React plugin, pinned to exact versions in package.json like every other dependency.

Does the Vite build keep page titles and descriptions?

Yes. vite build writes one HTML file per page with that page's title and description.

Does it use React Router?

No client router: app/main.tsx renders the page for the current address, and links between pages are normal page loads, as on the original site.

From the blog

Guides

Other ways to use FrameToNext

Your Framer site, as code you own.

Converting is free. See the pages and every file before you pay anything.