Framer to code

Framer to Astro or Next.js: which one for a marketing site?

For a marketing website, Astro. It sends plain HTML and adds JavaScript only where a section needs it, so pages load fast, and it treats content as files, which suits a CMS and AI tools. Next.js is the better pick when the website is also an app, with sign-ins, dashboards or a lot of per-visitor content.

In short

  • Astro is built for content sites: plain HTML by default and JavaScript only where a section needs it.
  • Next.js is built for web apps; it's the right pick when the marketing site and the product share code or sign-ins.
  • Both are open source and run on common hosts, so neither locks you in.
  • Echo's Website tab and the Allsite CMS work with Astro sites.

How do Astro and Next.js compare for a marketing site?

Both are good frameworks. They're built for different jobs.

Speed by default
Astro sends HTML and no JavaScript unless asked. Next.js sends a React app, which can be tuned but starts heavier.
Content
Astro has content collections for files in the repo built in. Next.js leaves content to you or a CMS.
Interactive parts
Astro adds React, Svelte or Vue islands where needed. Next.js is React throughout.
Apps and sign-ins
Next.js is made for it. Astro can do some, but it isn't its job.
Hosting
Both deploy to Cloudflare, Netlify and Vercel; Astro builds to static files that run anywhere.

What about Framer's animations?

Framer's interactions are built on its Motion library, which also works in any React app, so effects can be rebuilt as React islands in Astro where they matter. Most marketing sites need far fewer than they had in Framer: a single, consistent way for sections to appear does most of the work and keeps pages light.

Who builds the Astro site?

An AI tool does most of it. Claude Code, Cursor or similar rebuild each page from the live Framer site, working from your design tokens and a rules file in the repository so they stay on brand. A developer or a studio sets up the repository, the CMS and the host and reviews the work. Allsite Studio does this as a three-week sprint for startups on an Echo plan.

How does the marketing team edit an Astro site?

Astro has no editor of its own. With the Allsite CMS and Echo, the team gets one: pages with their SEO, CMS collections and items, files like robots.txt and llms.txt, redirects, custom code, the cookie banner and site settings, with drafts and a Publish that commits to the repository.

What do you need to run a code site from Echo?

Plainly, before you plan anything.

Echo's Website tab edits sites built on the Allsite CMS, an open content layer for Astro sites. Your content lives in your own repository as files, and Echo is the screen your team uses to change it.

A GitHub repository
Owned by your company. The site's code and content live there, with the full history of every change.
An Astro site with the Allsite CMS
Set up by Allsite Studio, Echo's design team, or by Echo's team with your developer. Echo doesn't convert a Framer project by itself.
A host that builds from the repo
Cloudflare is what we use and recommend. Every Publish in Echo is one commit, and the host deploys it.
An Echo plan
Editing in Echo needs an active plan. If it ends, editing stops and the site stays online, because it's yours.

More guides

Moving from Framer to code.

How the move works
  • Migration guideA step-by-step guide to moving a Framer site to Astro: rebuild the pages with AI, move the CMS into your repo, keep every URL and run it from a visual CMS.Read the guide
  • Export a Framer siteFramer has no built-in export of a published site to a code project. What export plugins give you, what they leave out, and the better way to get a code site.Read the guide
  • Framer CMS alternativeMoving off Framer and need a CMS your marketing team can use? Collections and items like Framer's, content kept in your own repo, edited and published from Echo.Read the guide
  • Framer vs custom codeWhen Framer is still the right website builder and when a custom-code site run from a visual CMS fits better: control, cost as you grow, SEO and AI search, and editing.Read the guide

On the blog

Read more.

  • Framer vs custom code: which website stack AI search reads bestYour website stack decides how much control you have over the HTML, schema and crawler rules AI search reads. Framer and custom code, compared.Read the article
  • How to leave Framer without losing your Google rankings or AI citationsMoving from Framer to a code site? Keep your URLs, redirect the rest, carry over metadata and structured data, and check what AI answers cite before and after.Read the article
  • The Framer migration checklist: what to list before you leaveBefore you move a Framer site to custom code, list every page, CMS collection, form, script, integration and owner. A checklist that turns a guess into a plan.Read the article
  • How a marketing team runs an AI-built website without a developerAI builds the pages, a visual CMS handles content, approvals keep it safe. Who does what on a custom-code website after Framer, and the rules that keep it on brand.Read the article

FAQ

Questions.

Is Astro better than Framer?

For different things. Framer is a visual builder with hosting included; Astro is a framework for building fast content sites in code. A team that wants to own its code and control every page's HTML picks Astro; a designer who lays out pages by hand every week may prefer Framer.

Should I move from Framer to Next.js or Astro?

Astro for a marketing website, Next.js if the website is also an app with sign-ins or dashboards. Many companies run their marketing site on Astro and their product on Next.js.

Can marketers edit an Astro site?

Yes, with a CMS on top. Astro itself has no editor. Echo's Website tab with the Allsite CMS gives the team pages, collections, SEO and Publish.

Does Echo work with Next.js sites?

Echo's website editing works with Astro sites on the Allsite CMS today. Echo's AI visibility, Sitemap and AI crawlers work with any website.

Move from Framer to Astro.

See how the move works, or have Allsite Studio build it in three weeks.