---
title: "Framer to React Router from Google Antigravity · Deframer"
description: "Convert a Framer site to React Router from Google Antigravity with the Deframer MCP server: setup, the prompt and the project you get. Free to convert."
url: https://deframer.co/antigravity/react-router
---

Coding agent · Framer to React Router

# Convert a Framer site to React Router from Google Antigravity with the Deframer MCP.

The Deframer plugin for Google Antigravity adds the Deframer MCP server and a skill that knows the whole flow. Convert a published Framer site from Antigravity's agent, then bring the project into your workspace. Framework mode, prerendered.

1 · Set up Google Antigravity

## Connect it.

1. Install the plugin from GitHub: `agy plugin install https://github.com/Designify101/deframer-claude-plugin`. `agy plugin list` should show **deframer** with its MCP server.
2. The first time the agent uses a Deframer tool, your browser opens deframer.co. Sign in (or create a free account) and choose **Allow**.
3. Ask the agent to convert your site to the framework you want.

Terminal sh

```
agy plugin install https://github.com/Designify101/deframer-claude-plugin
agy plugin list
```

2 · Ask for it

## Ask for React Router. It does the rest.

- The plugin's listing in Antigravity's marketplace is in review. Until it appears there, install it from GitHub as above.
- The plugin's source is public: [github.com/Designify101/deframer-claude-plugin](https://github.com/Designify101/deframer-claude-plugin). It only declares the server and the skill; Antigravity keeps the sign-in.

Prompt for Google Antigravity text

```
Convert https://my-site.framer.website to React Router with the images on Framer's CDN
```

3 · What you get

## A React Router project, in framework mode

| File | What it holds |
| --- | --- |
| `src/routes/**/index.tsx` | One route module per page, with its title and description in meta; CMS items take theirs from a head.json table. |
| `src/routes.ts` | The route config: every URL pattern and its module. |
| `scripts/prerender.ts` | Runs after react-router build and writes every page's HTML at its published URL. |
| `server.ts` | Applies the site's redirects and URL forms, serves the static and prerendered files, then hands the rest to React Router. |
| Framework mode | React Router 8 in framework mode, built with Vite: route modules with meta, a route config in src/routes.ts and typed routes from react-router typegen. |
| The layout stays | The root route keeps each page in its layout template, so moving between pages that share one keeps it mounted, with its state. |

Run the React Router project sh

```
npm install
npm run dev
npm run build && npm start
```

- **Install.** Installs React Router 8, Vite, React 19, motion and the packages the site's own code uses.
- **Develop.** Runs react-router dev: edit a view in src/views and the page updates.
- **Ship.** react-router build, then scripts/prerender.ts; npm start runs server.ts on Node.js 22.22 or later.
- A React Router project prerenders every page at build time, and its server.ts runs on Node.js 22.22 or later: any Node.js host, a container or your own server.

4 · Verify and download

## Free to convert, one credit to download.

- **Verify with the project link (recommended).** In Framer, choose Invite, then Copy next to Project link, and paste it to Google Antigravity: `verify_site` checks with Framer that the project publishes to your site. Nothing changes in the project or on the site.
- **Or with the meta tag.** Ask Google Antigravity for your ownership tag (`get_account`), paste it into the site's custom code in Framer and publish; `check_site` confirms it.
- Converting is free. A verified download costs 1 credit, or 10 credits without verification once you confirm you own the site or have permission. Packs: $20 for 1 credit, $50 for 5, $100 for 50, paid once; credits never expire.
- Unlocking and downloading happen on deframer.co: no app can spend your credits. Revoke the connection any time in Dashboard → Connected apps.

[Google Antigravity setup guide](https://deframer.co/docs/antigravity)[Framer to React Router](https://deframer.co/framer-to-react-router)[Pricing](https://deframer.co/pricing)

FAQ

## React Router from Google Antigravity, answered

The tools and sign-in are in the [MCP server reference](https://deframer.co/docs/mcp), the React Router project on [Framer to React Router](https://deframer.co/framer-to-react-router).

### Can I convert a Framer site to React Router from Google Antigravity?

Yes. Connect the Deframer MCP server to Google Antigravity (3 steps, [setup guide](https://deframer.co/docs/antigravity)), then ask it to convert your site to React Router. It calls Deframer's `start_conversion` tool with `framework: "react-router"`, follows the conversion and gives you the deframer.co page where you review, unlock and download the project.

### Is this React Router's framework mode or a single-page app?

Framework mode: route modules, a route config in `src/routes.ts` and server rendering. Every page is prerendered at build time, and `server.ts` serves the result on Node.js 22.22 or later.

### Is it the same as Remix?

React Router's framework mode is where Remix's features continue, so the project will look familiar to Remix developers: route modules with `meta`, and a server entry. It uses React Router 8 packages.

### How do I verify my site from Google Antigravity?

Paste your Framer project's link (in Framer: Invite, then Copy next to Project link) and ask Google Antigravity to verify the site: the `verify_site` tool checks with Framer that the project publishes to that address, and nothing changes in the project or on the site. Or publish the ownership tag from your account in the site's custom code, which `check_site` then finds.

### What does it cost?

Converting is free. Downloading costs 1 credit for a verified site, or 10 credits without verification after you confirm you own the site or have permission. Packs are $20 for 1 credit, $50 for 5, $100 for 50, paid once; credits never expire. Google Antigravity can't spend them: unlocking and downloading happen on deframer.co. See [pricing](https://deframer.co/pricing).

More

## From Google Antigravity, to any framework.

- [Google Antigravity**Next.js**App Router, Next.js 16, in TypeScript.](https://deframer.co/antigravity/nextjs)
- [Google Antigravity**TanStack Start**File routes on Node.js, in TypeScript.](https://deframer.co/antigravity/tanstack-start)
- [Google Antigravity**Astro**Prerendered pages, one React island.](https://deframer.co/antigravity/astro)
- [Google Antigravity**Vite**A static site, for any host.](https://deframer.co/antigravity/vite)
- [Google Antigravity**Nuxt**Nuxt 4 and Nitro, React pages.](https://deframer.co/antigravity/nuxt)
- [Google Antigravity**HTML**Built pages, ready to upload.](https://deframer.co/antigravity/html)

Elsewhere

## React Router, from any app.

- [React Router**Claude**The Deframer connector for Claude on the web, desktop and mobile.](https://deframer.co/claude/react-router)
- [React Router**Claude Code**The Deframer plugin: convert from your terminal and unzip the project into your repository.](https://deframer.co/claude-code/react-router)
- [React Router**ChatGPT**The Deframer plugin for ChatGPT, listed in ChatGPT's plugin directory.](https://deframer.co/chatgpt/react-router)
- [React Router**Cursor**Add Deframer to Cursor's agent as a remote MCP server.](https://deframer.co/cursor/react-router)
- [React Router**VS Code (GitHub Copilot)**Use Deframer from Copilot's agent mode in Visual Studio Code.](https://deframer.co/vscode/react-router)
- [React Router**Windsurf**Add Deframer to Windsurf's Cascade as a remote MCP server.](https://deframer.co/windsurf/react-router)
- [React Router**Codex**Add Deframer to OpenAI's Codex CLI with one command.](https://deframer.co/codex/react-router)
- [React Router**Gemini CLI**Add Deframer to Google's Gemini CLI.](https://deframer.co/gemini-cli/react-router)
- [React Router**Kiro**Add Deframer to Kiro's agent as a remote MCP server.](https://deframer.co/kiro/react-router)
