CMS

Real-time headless CMS with great editor UX and a generous free tier.

Sanity is one of the strongest headless CMS choices for Next.js: structured content, customizable Studio, live preview, and a free tier that handles most small-to-medium sites. Pair it with InBuild when your site has content editors who shouldn't touch the layout.

What you get

GROQ query language with auto-generated TypeScript types
Sanity Studio embedded directly in your Next.js app
Live preview during editing (no rebuild required for content changes)
Generous free tier: 100k API CDN requests, 3 users, unlimited public datasets
Strong asset pipeline with on-the-fly image transformations

FAQ

How do I connect Sanity to an exported InBuild site?

After exporting your project, install `next-sanity` and the Sanity client, set `NEXT_PUBLIC_SANITY_PROJECT_ID` and `NEXT_PUBLIC_SANITY_DATASET` in your `.env.local`, and replace static page content with `client.fetch` calls. The exported project structure plays nicely with this pattern.

Should I use Sanity or Contentful?

Sanity has better developer experience and a more generous free tier. Contentful has slightly more polished editor UX for non-technical teams. Both work well with Next.js.

Can I keep editing in InBuild after connecting Sanity?

Yes — but they serve different purposes. Use InBuild for layout, components, and design. Use Sanity for the long-lived editorial content (blog posts, product descriptions, case studies).

Other integrations