# Framer to Vite + React converter

URL: https://frametonext.com/convert/framer-to-vite · Updated 2026-11-18

> Convert your Framer website into a Vite + React project: the same .tsx components, CSS and interactions, built with vite build into static files for any host.

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.

- **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`.
- **Static output:** `npm run build` writes `dist/` with one HTML file per page, each with its own title and description, and a `404.html`.
- **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.

## 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

## 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

## Frequently asked 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.

---

FrameToNext (Framer to Next.js converter) · https://frametonext.com/ · All pages: https://frametonext.com/llms.txt · Start free: https://frametonext.com/sign-up
