Skip to content
Guide · Getting started

Framer to React: what converts to code, and what doesn't

Which parts of a Framer site become React components, CSS and routes, which interactions and animations carry over, and what is reported instead of guessed.

Short answer

Pages, routes and page metadata, layout and breakpoints, components and variants, taps, clicks, hover and focus states, menus and overlays, supported Motion animations, CMS collections, fonts and images all convert to React and CSS. Form destinations, third-party services and unsupported Framer APIs are reported, never guessed.

A Framer site is already React under the hood, but the published version is compiled for Framer's own runtime. Getting editable React out of it means rebuilding pages, components and behaviour as source code that runs on its own. Here is what FrameToNext carries over and where it draws the line.

Pages and routes

Every page becomes a Next.js App Router route with the same path, and keeps its title and description. CMS detail pages become route templates fed by local data.

Layout and styles

The site's CSS is kept in its original cascade order and printed one declaration per line, with a comment naming each component's section. Breakpoints stay as they were, so desktop, tablet and phone layouts switch at the same widths. Colours become variables named by how they are used, like --color-text-1 and --color-bg-2.

Components and variants

Each Framer component becomes a .tsx file named after it, with its variants (for example a phone and a desktop variant of the same card) and the props it receives. Class names come from your own layer and variant names, such as .project-card__title and .project-card--phone.

Interactions

Taps, clicks, hover and focus states, navigation links, and menus and overlays with their open and close transitions are rebuilt from the handlers in your site's code. A tap that opens an overlay stays an overlay toggle; it is not flattened into a generic click.

Animations

Supported Motion animations, appear effects, variant transitions and scroll effects are carried over. An effect we cannot reproduce is left out and listed in the report, so a page never runs a half-working animation without you knowing.

CMS

Framer CMS collections are decoded into local data files with typed queries, filters and sorting, so collection lists and detail pages keep working without Framer.

What is reported instead

  • Form submissions: fields and buttons convert, but where the data goes needs a backend you choose.
  • Third-party services such as payments, sign-in or analytics: flagged for you to configure.
  • Framer APIs that are not supported yet: a visible, labelled placeholder plus a report entry.
  • Files that could not be copied within download limits: listed, with their original address.

Curious how the code is read? See how the conversion reads Framer code.

Related guides

Your Framer site, as code you own.

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