Add a Lead-Capturing Calculator to Framer
Add an Embed component, paste your code, and start capturing leads. Works with any Framer template or custom design.
Last updated: May 2026Maintained by CalcStack
Why CalcStack
Why CalcStack for Framer?
Lead capture built in
Every tool gates results behind an email form. Leads arrive with qualification data, every input, every output, benchmark comparisons, and a quality score. Not just a name and email.
Industry benchmarks
Show visitors how they compare to industry averages. Benchmarks make tools more engaging and shareable, and they give your sales team richer context when following up with leads.
White-label ready
Remove CalcStack branding on Growth and Agency plans. Customize primary colors, accent colors, and fonts so tools look native to your Framer design system.
Responsive by default
The embed adapts to your Framer layout on desktop, tablet, and mobile. No custom breakpoints or override code needed, set the Embed component width to "Fill" and the tool handles the rest.
| Category | Value |
|---|---|
| Wix | 4.3% |
| Squarespace | 2.5% |
| Webflow | 0.9% |
Source: W3Techs CMS usage statistics, 2026Share of all websites for the established hosted builders. Framer is the newer, design-first entrant gaining ground in this same category, where a polished embedded tool adds conversion without breaking a pixel-perfect layout.
How the Framer Embed Works
Framer lead generation through CalcStack works via the native Embed component. Visitors interact with calculators, scorecards, or quizzes inside any Framer page; their inputs become qualified leads with full context. Integration requires no custom code, no third-party plugins, and no build step, and adds zero impact on Framer's performance.
The embed loads inside an isolated iframe. Your Framer animations, transitions, and CMS bindings remain completely unaffected. The tool communicates lead data back to CalcStack via a secure postMessage bridge, your site never handles sensitive visitor data directly.
This architecture works identically on Framer's free tier, Mini plan, and custom domains. No server-side configuration, no environment variables, no API keys in your project. According to W3Techs and BuiltWith adoption data, Framer has been one of the fastest-growing site builders among design-focused teams for the past three years, with adoption concentrated in startups and agencies that prize design-led conversion experiences.
Embed Code Reference
Two ways to embed in Framer: the standard Embed component on the canvas, or a Code Component for advanced integration with your design system. Both methods support lead capture, custom styling, and CRM integration.
Using the Embed Component
Select any frame on your canvas, then go to Insert → Embed. In the properties panel, paste the URL or switch to HTML mode and paste the full embed snippet. The Embed component renders a placeholder on the canvas, preview or publish to see the live tool.
Standard iframe embed
<iframe src="https://calcstack.net/embed/profit-margin-calculator?customer=your-id" width="100%" height="600" frameborder="0"></iframe>Script embed with auto-resize
<div data-calcstack-tool="profit-margin-calculator" data-customer="your-id"></div>
<script src="https://calcstack.net/embed.js"></script>Using a Code Component
For tighter integration, create a Framer Code Component that wraps the CalcStack iframe. This gives you programmatic control over props like tool slug, customer ID, and theme, useful when embedding different tools across CMS collection pages.
Code Component example (paste in Framer's code editor)
import { addPropertyControls, ControlType } from "framer"
export default function CalcStackEmbed({ tool, customer }) {
return <iframe src={`https://calcstack.net/embed/${tool}?customer=${customer}`} width="100%" height="600" style={{ border: "none" }} />
}
addPropertyControls(CalcStackEmbed, {
tool: { type: ControlType.String, title: "Tool Slug", defaultValue: "profit-margin-calculator" },
customer: { type: ControlType.String, title: "Customer ID", defaultValue: "your-id" },
})Find your Customer ID in your CalcStack dashboard under Settings. Without a Customer ID, the embed runs as a demo with CalcStack branding and no lead capture.
Common Issues & Troubleshooting
Most Framer embed issues are resolved in under a minute. Here are the three most common problems and their fixes.
Embed component shows blank on canvas
Cause: Embed components in Framer render their content on preview and publish, not on the canvas in edit mode. The blank placeholder is expected behavior.
Fix: Click the Preview button (or press Cmd + P) to see the live tool. If it still shows blank in preview, verify the embed URL is correct and that your plan is active.
Tool doesn't match Framer's dark mode
Cause: By default, CalcStack embeds render in light mode. If your Framer site uses a dark color scheme, the tool will look out of place.
Fix: Add theme="dark" as a parameter to the embed URL (e.g. ?customer=your-id&theme=dark). On Growth plans and above, you can also customize primary and accent colors to match your exact Framer design tokens.
Embed sizing is off in responsive views
Cause: The Embed component has a fixed width or height that doesn't adapt across Framer's responsive breakpoints (desktop, tablet, mobile).
Fix: Set the Embed component width to "Fill" and add a min-height of 600px in the layout properties. The CalcStack tool auto-adapts to its container width, so a flexible Embed component is all you need. Check the resources page for tool-specific sizing recommendations.
Making the Tool Feel Native to Your Framer Design
Framer attracts designers, so the bar for a bolted-on tool looking out of place is higher here than on most builders. The seam usually shows in three places: the corner radius, the font, and the accent color. Framer projects tend to commit to a strong radius language, fully rounded pills or crisp square corners, and a default embed with a different radius reads as foreign. Wrapping the Embed component in a frame with your project radius and a matching background closes that gap, so the tool sits inside your visual system rather than floating on top of it.
Color is the next lever. On Growth and Agency plans you can set the tool's primary and accent colors, and the move that pays off is to copy the exact hex values from your Framer color styles rather than eyeballing a close match. Designers notice when a button is one shade off. If your Framer site runs a dark theme, pass the dark theme parameter so the tool ships dark from the first frame instead of flashing a light panel and then correcting, which is the kind of mismatch that undermines an otherwise polished page.
Typography is the subtle one. The tool renders in its own font, which will not match a custom typeface loaded in Framer, and that is usually fine because the tool reads as a contained application rather than body copy. The goal is not to make the calculator pretending to be your prose; it is to make it look like an intentional product surface that belongs to your brand. Get the radius and the accent right, give it room to breathe inside a properly sized frame, and the font difference disappears into the impression of a deliberately designed widget. A short section heading above the embed, set in your real Framer type style, also helps: it anchors the tool in your typography even though the tool's own labels use a system font, so the eye reads the pairing as designed rather than accidental.
Breakpoints, Stacks, and Framer CMS Pages
Framer's layout engine is built around breakpoints and stacks, and the Embed component obeys them like any other layer. The reliable recipe is to place the Embed inside a stack, set its width to Fill so it tracks the column, and give it a min-height generous enough for the tallest state of the tool. Because the tool is responsive inside its frame, you rarely need separate Embed instances per breakpoint; one Fill-width component adapts from desktop down to phone. The exception is height: a multi-step tool that is comfortable at one height on desktop may want a touch more on mobile where fields stack, so check the smallest breakpoint and bump min-height there if anything clips.
Framer CMS opens a more interesting pattern. If you run a collection, a directory of services, a set of locations, a catalog of plans, you can place the tool on the collection's template page so every generated page carries it. Even better, you can store the tool slug as a CMS field and feed it into a Code Component, so each collection entry loads the calculator that matches its topic. A services collection can show a different estimator per service without you building a page by hand for each one, which is the Framer way of scaling content while keeping a single source of truth.
The Code Component route is also where you wire interactivity that the plain Embed cannot reach. By exposing the tool slug and customer ID as property controls, you let non-technical teammates pick a calculator from a dropdown in the Framer properties panel, no code edits required. That turns the tool into a reusable component in your project library, dragged onto pages like any native element, which is the difference between a one-off paste and an embed pattern your whole team can use consistently.
How the Tool Interacts with Framer SEO
Framer publishes server-rendered, statically hosted pages, which is good news for search visibility, but it is worth understanding what the embedded tool does and does not contribute to that. The tool lives in an iframe, so its contents are attributed to the source domain, not to your Framer page. Your page ranks on the copy you write around the tool, the headline, the explanatory paragraph, the supporting sections, not on the words inside the calculator. The practical move is to surround the Embed with real prose that states what the tool does and why it matters, so the crawler has substance to index and the visitor has context before they interact.
This is the same relationship a Framer page has with any embedded media, and it argues for a content-led page rather than a tool-only one. A page that is just an embed will struggle to rank because there is little text to match a query against; a page that frames the tool inside a genuine explanation gives Framer's SEO something to work with and gives an AI assistant something to quote. Lead with the answer in writing, then let the visitor refine it interactively in the tool that sits below your words.
Performance helps the SEO story rather than hurting it. The tool loads asynchronously and runs in its own context, so it does not slow the paint of the Framer page that Core Web Vitals actually measures. You get the engagement benefit of an interactive element, the longer dwell time and the reason to stay, without paying a speed penalty on the document the search engine scores. That combination, fast page plus genuine interactivity plus surrounding prose, is exactly the profile design-led Framer sites are well positioned to ship. If you publish on a custom domain, point your analytics at the page and watch scroll depth and time on page after you add the tool; the lift in those engagement signals is usually visible within the first few weeks of traffic.
Popular Lead Generation Tools for Framer Sites
These are the most-embedded tools on Framer sites. Each one captures qualified leads with industry-specific data. Browse all tools on the resources page.
ROI Calculator
Help prospects calculate return on investment before they buy.
Pricing Calculator
Let visitors configure pricing and see costs in real time.
Freelancer Rate Calculator
Perfect for freelancers and agencies showcasing their Framer portfolio.
Break-Even Calculator
Show visitors when their investment will pay for itself.
Conversion Rate Calculator
Let visitors benchmark their website conversion performance.
Profit Margin Calculator
A must-have for SaaS and e-commerce landing pages.
Turn Your Framer Visitors Into Qualified Leads
Start with the Free plan, no credit card required. Embed interactive tools and start capturing leads today.
Also available on: