Skip to main content

Lamina vs headless CMS

A headless CMS (Contentful, Sanity, Strapi) manages content APIs for your frontend. Lamina specs product behavior in .lamina/ for your coding agent. Both use headless; different layers.

Curated by Aryan Iyappan · Updated 2026-07-13

Who this comparison is for

You are in the right place if

  • You searched headless and found Lamina or a CMS.
  • You wonder if Lamina replaces your content API.
  • Your learn hub promised disambiguation between headless CMS and headless product design.
  • Marketing uses Sanity; engineering needs booking behavior specs.

Context

Headless is overloaded. CMS vendors use it for content APIs. Lamina uses it for behavior specs without UI generation. This page is category disambiguation, not a competitive shootout. Most production apps need a content layer, an application layer, and often a behavior design layer when AI agents implement features quickly.

Common situations

Concrete cases from AI-shipping workflows. Each shows what the alternative handles and where a behavior contract helps.

Marketing blog on Sanity, booking app in Next.js

Situation
Sanity delivers blog posts. Booking rules live in application code written by agents.
What Headless CMS does
CMS manages editorial content models and preview.
What Lamina adds
Behavior contract for checkout holds, partner gates, cancel flows.
Takeaway
CMS for content; Lamina for interactive product rules.

Content-only marketing site

Situation
No authenticated flows, checkout, or role-specific product behavior.
What Headless CMS does
Headless CMS plus static frontend is sufficient.
What Lamina adds
Not needed until the app gains domain behavior.
Takeaway
CMS-only scope: no Lamina required.

CMS-driven product config

Situation
Cancellation policy text lives in CMS. Whether cancel is allowed given booking state is application logic.
What Headless CMS does
Stores policy copy and structured content fields.
What Lamina adds
Specs when cancel action is legal and what refund preview must show.
Takeaway
CMS holds content; Lamina holds transition rules.

Comparison

Headless product design vs headless CMS
DimensionHeadless CMSLamina
Primary jobContent storage and delivery APIProduct behavior design
Layer in stackContent / data layerBehavior contract layer
Primary outputContent models, APIs, editorial UIrun.yaml + implement.md
Writes app source?No application logicNo application logic
Behavior spec (states, flows, permissions)Content schema, not product flowsStates, flows, permissions
Durable in-repo artifactCMS content models and entries.lamina/ in app repo
Post-build verificationContent previews/lamina-verify on live app
Repo and stack fitContent platformApplication repo with agent
Best whenMarketing content, editorial workflowsApp features with domain rules
When you don't need LaminaContent-only siteNo interactive product behavior
Compose with Lamina?Feed content to frontendSpec how app uses content in each state

Workflow

Lamina vs headless CMS: recommended workflow
StepHeadless CMSLamina
1Model content in CMS/lamina-design on app features
2Fetch content in appimplement.md includes content usage rules
3Preview editorial changes/lamina-verify booking/partner flows

Worked example

Confirm cancel with refund preview. CMS may store cancellation policy text. Lamina specs the cancel flow: policy reminder, refund amount display, confirm step. Content and behavior are separate concerns in HavenStay.

HavenStay demo walkthrough

Frequently asked questions

Is Lamina a headless CMS?

No. Lamina is a product-design skill for AI coding agents, not a content API.

Can we use Contentful and Lamina together?

Yes. Common pattern: CMS for marketing content, Lamina for application behavior.

We use Strapi for product data. Do we need Lamina?

If Strapi models data but agents implement transitions incorrectly, Lamina specs behavior. CMS does not replace flow design.

Comparisons map stack layers, repo artifacts, and HavenStay demo examples. Updated when major tools change positioning.

Install in one command.

A headless product-design skill for your AI coding agent. Then run the design → implement → verify loop on your next feature.

Apache-2.0 · open source. Star on GitHub if Lamina saves you a loop.

npx skills install aryaniyaps/lamina

Works with your coding agent

  • Cursor
  • Claude Code
  • Codex
  • Gemini
  • Pi
  • and more