Builder.io is a visual headless CMS that lets non-engineers compose pages from real, developer-registered UI components rather than raw JSON fields, while engineers retain control of the component library and rendering pipeline.
Overview
- Builder.io separates "content" (structured JSON) from "component code" (developer-owned), rendering the visual editor against your actual registered React/Vue/Angular/Svelte components instead of a generic mock-up.
- The system has three independently reasoned-about layers: the browser-based visual editor (authoring), the content API/CDN (data layer), and the rendering SDK (integration layer in your app).
- Two SDK generations exist with different registration patterns: Gen 1 (
Builder.registerComponent(), global state,<BuilderComponent>) and Gen 2 (explicitcustomComponentsarray, compatible with React Server Components). - Beyond the CMS, Builder.io ships an AI layer: Visual Copilot (Figma-to-code with component mapping) and Fusion (an AI agent for product/design/code launched Nov 2025), which are separately adoptable product surfaces.
- Founded in San Francisco in 2018 by Steve Sewell and Zachary Bruce; distinct from the unrelated, now-bankrupt "Builder.ai."
Key Concepts
Visual Headless Architecture
- Content and page layouts are stored as a JSON tree (component hierarchy, prop values, bindings, targeting/personalization rules), keeping the CMS framework-agnostic.
- Developers register components with a schema describing editable props (string, url, file reference, enum, etc.); only registered components become drag-and-drop blocks.
- Differentiator vs. "pure" headless CMS (Contentful, Sanity): the visual editor renders real production components live, via an iframe, not a generic preview.
Content API and Delivery
- Each Builder "space" (project) has a public API key; apps call
builder.get()(Gen 1) orfetchOneEntry()(Gen 2) with a model name (e.g.,"page") to retrieve content JSON, including resolved A/B variant/personalization. - Content is served from Builder's CDN, so read latency is generally not the bottleneck - the real performance variable is how much client-side JS the chosen SDK ships to hydrate the page.
SDK Generations and Component Registration
- Gen 1: global
Builder.registerComponent()call, doesn't compose cleanly with server components. - Gen 2: explicit
customComponentsarray passed as a prop to<Content>- the recommended default for new Next.js App Router projects. - Example registration (Gen 2):
export const customComponents: RegisteredComponent[] = [
{
component: ProductCard,
name: "ProductCard",
inputs: [
{ name: "title", type: "string", required: true },
{ name: "price", type: "number", required: true },
],
},
];
Visual Copilot (Figma-to-Code)
- Figma plugin/CLI converting designs to React, Vue, Svelte, Angular, Qwik, Solid, React Native, or HTML.
- Key differentiator: component mapping - links Figma design components to existing code components, so output reuses your
Button/Card/Inputinstead of generating disposable markup. - Version 2.0 brings Figma output directly into the visual editor with natural-language edits against real data/APIs.
Fusion (AI Agent)
- Launched v1.0 in November 2025; integrates with Slack, Jira, Figma, GitHub.
- Claims a "context engine" that understands APIs, data sources, and design systems to produce code fitting existing architecture rather than greenfield scaffolding.
- Still requires human review - code review, testing, and architectural fit are not eliminated by the agent.
Trade-offs / Caveats
- Schema drift: renaming or restructuring a component prop in code without a content migration silently breaks any page referencing the old shape - there's no compiler to catch this, unlike a typed DB migration.
- Performance: visual editing relies on client-side hydration; depending on SDK/rendering strategy (SSG vs. SSR vs. client fetch), it can ship more JS than a hand-rolled static page. Gen 2 SDKs and edge rendering mitigate but don't eliminate this - Core Web Vitals still need benchmarking.
- Cost/governance: pricing is credit-metered (AI features like Visual Copilot consume credits) plus per-seat charges, making costs less predictable than a flat subscription; non-engineers composing pages need an approval workflow analogous to gating a deploy.
- Vendor lock-in: content is stored as Builder-specific JSON; migration requires a translation layer, not a simple export.
- Best suited for teams with a mature design system and frequent content/landing-page velocity; the governance overhead may exceed the benefit for small, low-change product surfaces.
Example in Practice
A Next.js App Router page fetches content server-side and renders it through Builder's Content component with a typed registry:
const content = await fetchOneEntry({
model: "page",
apiKey: BUILDER_PUBLIC_API_KEY,
userAttributes: { urlPath },
});
return (
<Content
model="page"
content={content}
apiKey={BUILDER_PUBLIC_API_KEY}
customComponents={customComponents}
/>
);
This mirrors a normal server-rendered React app rather than replacing the rendering pipeline - Builder.io is designed to sit inside existing architecture, not act as a monolithic site builder.
Related topics
- Design systems and component-contract versioning as a governance discipline
- A/B testing and personalization infrastructure
- Core Web Vitals / performance budgeting for JS-hydrated pages
- Agentic AI code generation review practices (applicable beyond Fusion specifically)