CMS for v0
Decoupled.io is a headless CMS for apps whose UI comes from v0. v0 generates Next.js and React components. Decoupled.io supplies the content for them through a typed client, GraphQL and a visual editor your team can use.
- Same framework: v0 generates Next.js; the
integrate_frontendtool has anextjstarget using GraphQL and Apollo Client, and the starters use Next.js 16. - Typed client: types generated from your Drupal schema.
- Open source CMS: Drupal is GPL-licensed.
- Free plan, then $20/month (Starter) or $60/month (Pro).
Create a free space | Typed client docs
The v0 content problem
Components from v0 usually contain static JSX: the headline, the card text and the image URLs are literals. Updating one means editing code or re-prompting. A blog with 50 posts shouldn't be 50 hardcoded cards.
Moving the content to a CMS turns each component into a function of data:
- Props come from content, not literals.
- Editors change copy without a developer.
- Lists scale: blog posts, products and case studies become content types.
Wire a v0 component to Drupal
Install the client and generate types:
npm install decoupled-client
npx decoupled-cli schema sync
Then pass fetched data into the component v0 generated:
import { createClient } from 'decoupled-client'
import { createTypedClient } from '@/schema/client'
import { BlogCard } from '@/components/blog-card' // generated by v0
const base = createClient({
baseUrl: process.env.NEXT_PUBLIC_DRUPAL_BASE_URL!,
clientId: process.env.DRUPAL_CLIENT_ID!,
clientSecret: process.env.DRUPAL_CLIENT_SECRET!,
})
const client = createTypedClient(base)
export default async function Blog() {
const articles = await client.getEntries('NodeArticle', { first: 10 })
return articles.items.map(article => (
<BlogCard key={article.id} title={article.title} />
))
}
Field names such as fieldImage come from your own schema; the types tell you what exists. Check the typed client docs for the shape of each field.
Let an agent set up the backend
With the MCP server connected, you can ask for the whole backend in a prompt:
"Create a Drupal space called 'Case Studies'. Import a case_study content type with title, client name, industry, challenge, solution, results and hero image. Then use integrate_frontend with nextjs."
The nextjs strategy generates GraphQL with Apollo Client and needs @apollo/client graphql. See AI app builder integration and the MCP reference.
A visual editor on the same stack
The Next.js starter includes the Drupal Canvas visual editor and 17 components. Editors arrange components, preview them in your real app, then publish. You can add your own components, including ones that v0 generated, with a component.yml and an index.tsx. See the Canvas editor.
What Decoupled.io provides for v0 apps
| Need | What Decoupled.io provides |
|---|---|
| Types | Generated from your Drupal schema |
| APIs | GraphQL and JSON:API on every plan |
| Agent tools | 25+ MCP tools |
| Editing | Canvas visual editor and Drupal admin |
| Hosting | Managed Drupal on Fly.io, one isolated app per space |
| Preview and ISR | Draft preview and on-demand revalidation |
Questions
Does it work with v0 projects deployed on Vercel? Yes. Any Next.js app can call the APIs, and there is a Vercel integration guide.
Do I need to regenerate components when content changes? No. Components render whatever content they receive.
What does it cost? Free plan (one space, 24-hour auto-archive), Starter $20/month, Pro $60/month. See pricing.
Limits? A curated module set, and 5 to 8 second cold starts after idle on Free and Starter.