Illustration: a layer tree and a published web page flow into one code window with a passing check.

Until October 8, 2026, pull.page was a Framer site. Since then it has been an Astro project, made by PullPage's own Framer to Astro export. It has had almost 200 commits since, made in code and with coding agents, and none of them in Framer.

Framer has no code export. Its help center says so directly: “Framer does not offer HTML export for self-hosting” (Framer Help). So the useful question isn't whether you can get code out of Framer, but what that code looks like once you have it. This post shows it, using our own site, including the parts that still look like Framer and the things the export can't do.

Disclosure: PullPage is my product, and the Astro export is a paid part of it. I've tried to write this so it's useful even if you never use it.

What comes out

For pull.page, the export was 12 pages, 27 components, 3 CMS collections and 73 images, fonts and other files. The project is a normal Astro project: npm install, npm run dev, and you're looking at your site.

  • One .astro page per Framer page, in src/pages/.

  • Framer components as Astro components with props, in src/components/.

  • CMS collections as content collections, one Markdown file per item, in src/content/.

  • Your colour and text styles as CSS variables and classes.

  • Every image, font and script inside the project.

  • A README.md, an AGENTS.md for coding agents, and an EXPORT-REPORT.md that lists what the export couldn't reproduce.

Breakpoints are plain CSS

Layouts become ordinary CSS: the desktop design is the base rule, and each other breakpoint only overrides what changes. Here is the navigation bar of pull.page as the export wrote it, shortened a little:

.n-ihT_47nBL {
  gap: 100px;
  padding: 8px 64px 8px 64px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
}
@media (min-width: 810px) and (max-width: 1279.98px) {
  .n-ihT_47nBL {
    padding: 8px 32px 8px 32px;
  }
}
@media (max-width: 809.98px) {
  .n-ihT_47nBL {
    padding: 4px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    left: 8px;
    right: 8px;
  }
}

The generated class names aren't pretty. Layers that have a name in Framer also get it as a second class (tag, text-container), so you can find things.

Components get props

A Framer component becomes an .astro file, and its controls become typed props with the values from Framer as defaults. This is a small tag component from our site, as exported (only the line breaks are mine):

---
interface Props {
  /** Positioning class from the instance that renders this component. */
  class?: string;
  id?: string;
  section?: string;
  tag?: string;
  tagline?: string;
  link?: string;
}
const {
class: className,
id,
section,
tag = “NEW”,
tagline = “Introducing Accretion AI”,
link,
} = Astro.props;
// A link only where this instance was given one.
const LinkTag = link ? “a” : “div”;

“Introducing Accretion AI” is a leftover from the template our Framer site started from. Every instance on the site sets its own text, so nobody ever saw it, but it was still the component's default in Framer. The export keeps what the project says, not what we wish it said.

Not every component can become a shared file. When a component behaves differently depending on where it's used, it stays inline in the page, and the report says so. On pull.page, 27 components became files of their own and 15 stayed inline.

It isn't free of Framer

Animations, hover states, tickers and overlays keep working. Most of them run on a small script that ships with the project; React only comes along for Framer code components, together with framer-motion. So you'll find framer-motion, framer-text classes and data-framer-name attributes in the code. What the project doesn't do is load your site from Framer: images, fonts and scripts are part of it.

The CMS becomes content collections

Each CMS collection becomes an Astro content collection with a schema built from its fields, and detail pages become routes. This is the start of the schema for this blog:

const blog_articles = defineCollection({
  loader: glob({ base: "./src/content/blog-articles", pattern: "**/*.md" }),
  schema: z.object({
    /** Authored in Framer as "Blog Articles". */
    draft: z.boolean().default(false),
    /** The order the entries are arranged in in Framer. */
    ppOrder: z.number().optional(),
    title: z.string().optional(),
    date: z.coerce.date().optional(),
    categories: z.array(reference("categories")).optional(),
    // …
  }),
});

One honest limit: rich text stays Framer's HTML inside the Markdown files, the way this post is stored too. It renders and it's searchable, but it isn't the clean Markdown you'd write by hand.

Built before you get it

Every export is built with astro build before anyone downloads it. If the build fails, you don't get a broken project, and an Astro purchase isn't used up.

A report instead of a promise

The EXPORT-REPORT.md lists everything the export knows it couldn't reproduce, loudest first: Missing (on the live site, not in the export), Limited (there, but it does less) and Cosmetic (looks slightly different). For pull.page:

FindingCount
Missing13
Limited145
Cosmetic59

That looks like a lot, but most of it is the same few things repeated. 144 of the 145 “limited” entries are one finding: Framer flips a popover to the other side when it would leave the window, and CSS can't do that, so the popover keeps the side it was designed on. 12 of the 13 “missing” entries are one menu panel that didn't make it into the export.

Made to be edited by agents, too

Most edits to pull.page since the move were made with coding agents. The AGENTS.md in every export tells an agent, or a developer new to the project, how to run it, where each kind of content lives, and what not to break.

What I'd tell someone thinking about it

  • You leave Framer's visual editor behind. After the move you edit in code or through an agent. If your team designs in Framer every week, an export is a snapshot, not a workflow.

  • Forms become real HTML forms, but you choose where they send: the export leaves PUBLIC_FORM_ENDPOINT empty.

  • Components from the Framer Marketplace usually don't come with design data. The export copies what they render and reports them as copies.

  • Read the report before you switch your domain. It's there so you don't find the gaps after the move.

For us it was worth it: pull.page is now a normal Astro project in a Git repository, and its hosting is a static deploy. If you want to try it on your own site, the static HTML export is free and the Astro export starts at $99, once per project. If you are still deciding how to move at all, our Framer to Astro migration guide compares rebuilding, an agency and an export. If you have questions about any of this, I'm happy to answer them.

FAQ

Can you export code from Framer?

Not with Framer itself: its help center says Framer does not offer HTML export for self-hosting. Tools like PullPage export it for you, either as static HTML or as an Astro project.

What does a Framer to Astro export contain?

With PullPage: one Astro page per Framer page, Framer components as Astro components with props, breakpoints as CSS media queries, CMS collections as content collections with a schema, every image, font and script, an AGENTS.md for coding agents and an EXPORT-REPORT.md listing what could not be reproduced.

Does an exported Astro site still depend on Framer?

It does not load anything from Framer at runtime: images, fonts and scripts are copied into the project. It does keep traces of Framer, such as the framer-motion package, framer-text classes and data-framer-name attributes.

What does not carry over from Framer to Astro?

Framer's visual editor: after the move you edit in code or with an AI coding agent. Some behaviour is limited, such as popovers flipping at the window edge, and Marketplace components without design data stay copies of their published markup. Each export lists these in its report.

Ready to Export?

Keep using the world’s most powerful visual editor as your workspace. Export your site in seconds and cut your monthly costs, or take it to Astro code with Ultra.

Get started for free

No credit card required.

Ready to Export?

Keep using the world’s most powerful visual editor as your workspace. Export your site in seconds and cut your monthly costs, or take it to Astro code with Ultra.

Get started for free

No credit card required.

Ready to Export?

Keep using the world’s most powerful visual editor as your workspace. Export your site in seconds and cut your monthly costs, or take it to Astro code with Ultra.

Get started for free

No credit card required.