At a glance
- Steps
- Copy to Webflow on the Onlook preview → ⌘V in the Designer.
- Where the button shows
- Onlook's editor and published *.onlook.live pages.
- What Onlook edits
- Next.js and Tailwind CSS projects. Its code is the source of truth.
- Tailwind
- Utility classes are compiled into named Webflow classes (hero-heading, pricing-card), not pasted as utilities.
- Not carried over
- React state, Next.js routing, data fetching and API routes. Each page is copied as it looks.
- Plan
- Each copy counts as a capture: 3 a day on Free, unlimited on Pro.
Why an Onlook project doesn't drop into Webflow
Onlook is an open-source visual editor for code. You design on a canvas, but every change is written back into a real Next.js and Tailwind CSS project. Onlook's own pages put it plainly: the code is the source of truth. That's the whole point of the tool, and it's also why Webflow can't take the result directly.
Webflow doesn't import code, repositories or Next.js apps. Its help center says a move to Webflow is a rebuild, not a transfer. Pasting a component into a Code Embed keeps the code as code: no Style panel, no classes, nothing a marketer can change.
Tailwind adds a second problem. An Onlook page is made of utility classes like flex, gap-6 and md:grid-cols-3. Rebuilt by hand in Webflow, each one turns into a guess. FlowPaste reads the finished page instead. FlowPaste reads the page the way your browser shows it: the elements, every CSS rule that applies to them, the media queries and the hover states. It then writes Webflow's own clipboard format, so ⌘V (Ctrl+V) in the Designer creates real elements with named classes. Tailwind utilities are compiled into a small set of named classes, and md: and lg: rules land on Webflow's breakpoints.
“Migrating to Webflow will be a rebuild, not a transfer.”
Webflow Help Center
Ways to do it, compared
| Method | Editable in Webflow | Responsive | Time for one page | Best for |
|---|---|---|---|---|
| Export the code, run it, then Capture the full page | Yes | Yes | 15–30 minutes (local setup) | Pages that only exist in your repo |
| Code Embed element | No. The code stays code | Only if the code is | Minutes | Widgets and scripts you won't edit |
| Rebuild by hand in the Designer | Yes | Yes, if you build it | 2–6 hours | Small pages, or a full redesign |
| Paste a component's code into FlowPaste's Convert tab | Yes | Yes | A few minutes per section | Single sections with few imports |
| FlowPaste: Copy to Webflow in the Onlook editor | Yes: native elements and classes | Yes | Under a minute | Any Onlook page, as it looks |
How to copy an Onlook page into Webflow
Time: about 2 minutes. You need: the FlowPaste Chrome extension, your project open in Onlook (or its onlook.live link), a Webflow site open in the Designer.
Open the page in Onlook
Open your project in the Onlook editor and go to the page you want. A published onlook.live preview link works too.
Set the state you want to copy
FlowPaste copies what the preview shows. Close menus, open the first tab or accordion item, and switch off any test content.
TipCopy from the desktop width. Tablet and mobile styles come along from the responsive rules, so you don't copy each size.
Click Copy to Webflow
The button sits at the bottom right of the live preview. The main click copies the whole page: every section, in order.
TipFor one part only, open the arrow menu and choose Pick a section. Hover the design, press ↑ for a bigger area, and click.
Paste in the Webflow Designer
Switch to the Designer, click where the page should go and press ⌘V (Ctrl+V). The sections paste in order as native elements.
Turn on Match my site (optional)
If your Webflow site already has its own fonts and colors, use the Match my site option so the paste picks them up instead of the Onlook project's.
Add fonts and connect images
Add the fonts FlowPaste lists in Site settings → Fonts. Connect your site once in FlowPaste → Account → Webflow images so pictures upload to Webflow Assets.
What comes across
| In Onlook (Next.js + Tailwind) | In Webflow | Notes |
|---|---|---|
| Next.js pages and their components | Sections and Div Blocks | One Webflow page per route |
| Tailwind utilities (flex, gap-6, px-8) | Named classes from structure | Identical styles share one class |
| sm:, md:, lg: variants | Mobile landscape, tablet and desktop styles | Widths Webflow lacks snap to the nearest breakpoint |
| hover: and focus: variants | Hover and Focus states | |
| shadcn/ui or Storybook components | Plain elements with classes | Turn repeated ones into Webflow Components |
| Images | Image elements | Uploaded to Webflow Assets when your site is connected |
| Web fonts (Google Fonts and others) | Fonts listed for Site settings | |
| Inline SVG icons | Embed elements | Editing them needs a paid site plan |
| Forms | Webflow Form Blocks | Server actions and API routes don't come along |
| Onlook's canvas, frames and editor overlays | Left out | Only your page is copied |
From Tailwind utilities to Webflow classes
<section className="px-8 py-24 md:py-32">
<h1 className="text-5xl font-semibold tracking-tight">…</h1>
<div className="grid gap-6 md:grid-cols-3">
<div className="rounded-2xl border p-6 hover:shadow-lg">…</div>
</div>
</section>Section class: hero
Heading H1 class: hero-heading
Div Block class: hero-grid (3 columns ≥ tablet)
Div Block ×3 class: feature-card (+ Hover)Problems and fixes
I don't see the Copy to Webflow button
Reload the Onlook tab after installing or updating FlowPaste. The preview must be at least 320×220 px, so make the page frame bigger on the canvas if it is small. If you closed it with ✕, reload the page.
The paste shows a menu open or the wrong tab
FlowPaste copies the state on screen. Reset it in the preview, then copy again. Interactive state from React doesn't carry over.
Fonts look different in Webflow
The paste names the fonts but Webflow doesn't load them on its own. Add the same families in Site settings → Fonts, or use Match my site to switch to your Webflow fonts.
A page is behind login or loads data
Copy it after the data has loaded and you're signed in, or copy only the public pages. Data fetching and auth stay in the Next.js app.
Too many classes, or names I don't like
Each distinct Tailwind combination becomes its own class. Rename classes in the Style panel, or merge near-identical ones. Use Match my site if you want the paste to reuse your Webflow site's fonts and colors.
Images break on the published Webflow site
Connect your site in FlowPaste → Account → Webflow images and copy again. Without it, images keep pointing to the Onlook host.
Onlook for the product, Webflow for the marketing site
Onlook keeps design and code in one repo, which is ideal for the product your engineers ship. Marketing pages change weekly and are often edited by people who don't touch git. That's where Webflow fits.
- Split the domains. Serve the marketing site from www.example.com on Webflow and the app from app.example.com, hosted on Onlook or your own Next.js host. Onlook supports custom domains and lets you export the code to Vercel, Netlify or any Next.js host.
- Copy the public pages once. Copy home, pricing and features from Onlook with FlowPaste. After that, Webflow is the source for those pages. The copy doesn't sync back to your repo.
- Keep the design system close. Name the pasted classes after your Tailwind tokens where it helps, and turn shared parts (navbar, footer, CTA) into Webflow Components.
- Move content to the CMS. Blog posts, changelogs and customer stories go into Webflow Collections so they don't need a pull request.
- Link the two. Point Sign in and Get started buttons at app.example.com. Remove the old marketing routes from the Next.js app or redirect them.
After you paste
- Add the fonts in Webflow → Site settings → Fonts. FlowPaste lists them in the notes after each conversion. Until then, text that brought its own font file still shows correctly, but you can't pick the font in the Typography panel.
- Images: Webflow publishes images only from its own Assets. Connect your site once in FlowPaste → Account → Webflow images, and every paste uploads its images for you. Without it, images show in the Designer but break on the published site.
- Click through tablet, mobile landscape and mobile portrait in the Designer. Media queries are already mapped to those breakpoints; check anything the notes marked as "snapped".
- Rename or merge classes where you want your own system. Identical styles already share one class; variations are combo classes.
- Look for Embed elements (inline SVG icons, pseudo-elements, leftover scripts). They show on every plan; editing their code needs a paid site plan.
- Decide which copy is the source of truth for each page: Onlook (repo) or Webflow. They don't sync.
- Publish to your webflow.io staging domain and check animations and scripts there. Scroll-triggered Interactions don't always play inside Designer Preview.
Questions
Can I export Onlook code to Webflow?
Not as code. Onlook lets you export the project, publish it to GitHub or host it at a link, but Webflow can't import a Next.js project. Copy the rendered page with FlowPaste's Copy to Webflow button instead; it pastes as native elements.
Do Tailwind classes come across?
Not as utilities. FlowPaste compiles them into named classes from the page structure (hero-heading, pricing-card), with md: and lg: rules on Webflow's breakpoints and hover: on Hover states.
Will my Next.js app logic work in Webflow?
No. React state, routing, server actions, API routes and data fetching stay in the Next.js app. Webflow gets the design as it looks when you copy.
Does it work on onlook.live preview links?
Yes. The Copy to Webflow button shows on published *.onlook.live pages as well as in the editor.
What if I run the Onlook project on my own machine?
Onlook is open source and projects are standard Next.js apps. Start the app, open the localhost address in Chrome and use FlowPaste icon → Capture the full page.
If I keep designing in Onlook, does Webflow update?
No. Each copy is a snapshot of the page at that moment. Onlook keeps writing changes to your Next.js code; Webflow keeps its own elements. When a section changes in Onlook, copy that section again with Pick a section and replace the old one in the Designer.
Why are the class names different from my Tailwind classes?
Webflow works with a class per element, not dozens of utilities. FlowPaste groups the utilities on each element into one class and names it from the page structure, so a card becomes feature-card instead of rounded-2xl border p-6. Identical styles share a class, and variations become combo classes you can rename.
Sources
- Onlook on GitHub (README: open-source visual-first code editor; Next.js + TailwindCSS; Apache 2.0)
- Onlook for Next.js — "When you make a change, Onlook writes the underlying TypeScript directly back to your code."
- Onlook Help: Publishing and deployment — Preview URLs like abc123.onlook.live; custom domains; "Export your code anytime and deploy to Vercel, Netlify, or any Next.js hosting provider."
- Onlook home page and FAQ — "You can export it on your local machine, publish it to GitHub, or host it at a link."
- Webflow Help: Migrate your site to Webflow overview — "migrating to Webflow will be a rebuild, not a transfer"
- Webflow Wishlist: Import an existing site, or existing code, into the Webflow Designer