Integrates the Puck visual page builder into Payload CMS. The plugin registers an editor view, API endpoints and Edit with Puck buttons on a chosen pages collection, and provides a PageRenderer for the Next.js frontend. It requires Payload 3.69 or later, Next.js, React 19 and the Puck core package.
Puck visual page builder plugin for Payload CMS
Installation
npm i @delmaredigital/payload-puck117
Stars
13
Forks
3
Open Issues
Yesterday
Last Updated
2.3k
Weekly Downloads
v0.12.6
npm Version
2.0 MB
Unpacked Size
17
Dependencies
117+17 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 117 |
| Dec 4, 2026 | 115 |
| Dec 3, 2026 | 115 |
| Dec 2, 2026 | 115 |
| Dec 1, 2026 | 115 |
| Nov 30, 2026 | 115 |
| Nov 29, 2026 | 115 |
| Nov 28, 2026 | 115 |
| Nov 27, 2026 | 115 |
| Nov 26, 2026 | 115 |
| Nov 25, 2026 | 114 |
| Nov 24, 2026 | 113 |
| Nov 23, 2026 | 112 |
| Nov 22, 2026 | 112 |
| Nov 21, 2026 | 112 |
| Nov 20, 2026 | 112 |
| Nov 19, 2026 | 111 |
| Nov 18, 2026 | 111 |
| Nov 17, 2026 | 111 |
| Nov 16, 2026 | 111 |
| Nov 15, 2026 | 111 |
| Nov 14, 2026 | 111 |
| Nov 13, 2026 | 111 |
| Nov 12, 2026 | 111 |
| Nov 11, 2026 | 111 |
| Nov 10, 2026 | 111 |
| Nov 9, 2026 | 110 |
| Nov 8, 2026 | 109 |
| Nov 7, 2026 | 109 |
| Nov 6, 2026 | 109 |
| Nov 5, 2026 | 109 |
| Nov 4, 2026 | 109 |
| Nov 3, 2026 | 109 |
| Nov 2, 2026 | 109 |
| Nov 1, 2026 | 109 |
| Oct 31, 2026 | 109 |
| Oct 30, 2026 | 109 |
| Oct 29, 2026 | 109 |
| Oct 28, 2026 | 109 |
| Oct 27, 2026 | 109 |
| Oct 26, 2026 | 109 |
| Oct 25, 2026 | 108 |
| Oct 24, 2026 | 108 |
| Oct 23, 2026 | 108 |
| Oct 22, 2026 | 108 |
| Oct 21, 2026 | 108 |
| Oct 20, 2026 | 108 |
| Oct 19, 2026 | 108 |
| Oct 18, 2026 | 107 |
| Oct 17, 2026 | 107 |
| Oct 16, 2026 | 107 |
| Oct 15, 2026 | 107 |
| Oct 14, 2026 | 107 |
| Oct 13, 2026 | 106 |
| Oct 12, 2026 | 105 |
| Oct 11, 2026 | 105 |
| Oct 10, 2026 | 105 |
| Oct 9, 2026 | 105 |
| Oct 8, 2026 | 105 |
| Oct 7, 2026 | 105 |
| Oct 6, 2026 | 104 |
| Oct 5, 2026 | 104 |
| Oct 4, 2026 | 104 |
| Oct 3, 2026 | 104 |
| Oct 2, 2026 | 104 |
| Oct 1, 2026 | 104 |
| Sep 30, 2026 | 104 |
| Sep 29, 2026 | 104 |
| Sep 28, 2026 | 103 |
| Sep 27, 2026 | 103 |
| Sep 26, 2026 | 103 |
| Sep 25, 2026 | 103 |
| Sep 24, 2026 | 103 |
| Sep 23, 2026 | 103 |
| Sep 22, 2026 | 103 |
| Sep 21, 2026 | 103 |
| Sep 20, 2026 | 103 |
| Sep 19, 2026 | 103 |
| Sep 18, 2026 | 103 |
| Sep 17, 2026 | 103 |
| Sep 16, 2026 | 103 |
| Sep 15, 2026 | 103 |
| Sep 14, 2026 | 102 |
| Sep 13, 2026 | 101 |
| Sep 12, 2026 | 101 |
| Sep 11, 2026 | 101 |
| Sep 10, 2026 | 101 |
| Sep 9, 2026 | 101 |
| Sep 8, 2026 | 101 |
| Sep 7, 2026 | 101 |
| Sep 6, 2026 | 100 |
2.1K+787 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 2,114 |
| Dec 4, 2026 | 1,964 |
| Dec 3, 2026 | 1,880 |
| Dec 2, 2026 | 1,765 |
| Dec 1, 2026 | 1,800 |
| Nov 30, 2026 | 1,967 |
| Nov 29, 2026 | 2,480 |
| Nov 28, 2026 | 2,638 |
| Nov 27, 2026 | 2,680 |
| Nov 26, 2026 | 2,675 |
| Nov 25, 2026 | 2,553 |
| Nov 24, 2026 | 2,480 |
| Nov 23, 2026 | 2,299 |
| Nov 22, 2026 | 2,040 |
| Nov 21, 2026 | 2,087 |
| Nov 20, 2026 | 2,110 |
| Nov 19, 2026 | 2,025 |
| Nov 18, 2026 | 2,197 |
| Nov 17, 2026 | 2,132 |
| Nov 16, 2026 | 2,129 |
| Nov 15, 2026 | 1,922 |
| Nov 14, 2026 | 1,887 |
| Nov 13, 2026 | 1,737 |
| Nov 12, 2026 | 1,851 |
| Nov 11, 2026 | 1,561 |
| Nov 10, 2026 | 1,593 |
| Nov 9, 2026 | 1,629 |
| Nov 8, 2026 | 1,816 |
| Nov 7, 2026 | 1,973 |
| Nov 6, 2026 | 1,968 |
| Nov 5, 2026 | 2,036 |
| Nov 4, 2026 | 2,032 |
| Nov 3, 2026 | 1,969 |
| Nov 2, 2026 | 1,970 |
| Nov 1, 2026 | 1,726 |
| Oct 31, 2026 | 1,824 |
| Oct 30, 2026 | 2,312 |
| Oct 29, 2026 | 1,949 |
| Oct 28, 2026 | 1,772 |
| Oct 27, 2026 | 1,800 |
| Oct 26, 2026 | 1,763 |
| Oct 25, 2026 | 1,705 |
| Oct 24, 2026 | 1,259 |
| Oct 23, 2026 | 583 |
| Oct 22, 2026 | 806 |
| Oct 21, 2026 | 977 |
| Oct 20, 2026 | 1,061 |
| Oct 19, 2026 | 1,177 |
| Oct 18, 2026 | 1,233 |
| Oct 17, 2026 | 1,674 |
| Oct 16, 2026 | 1,905 |
| Oct 15, 2026 | 1,989 |
| Oct 14, 2026 | 2,141 |
| Oct 13, 2026 | 2,139 |
| Oct 12, 2026 | 2,006 |
| Oct 11, 2026 | 1,963 |
| Oct 10, 2026 | 1,529 |
| Oct 9, 2026 | 1,744 |
| Oct 8, 2026 | 1,758 |
| Oct 7, 2026 | 1,734 |
| Oct 6, 2026 | 1,639 |
| Oct 5, 2026 | 1,645 |
| Oct 4, 2026 | 1,609 |
| Oct 3, 2026 | 1,517 |
| Oct 2, 2026 | 1,338 |
| Oct 1, 2026 | 1,197 |
| Sep 30, 2026 | 1,055 |
| Sep 29, 2026 | 1,013 |
| Sep 28, 2026 | 1,021 |
| Sep 27, 2026 | 944 |
| Sep 26, 2026 | 1,061 |
| Sep 25, 2026 | 955 |
| Sep 24, 2026 | 1,031 |
| Sep 23, 2026 | 1,059 |
| Sep 22, 2026 | 1,072 |
| Sep 21, 2026 | 1,168 |
| Sep 20, 2026 | 1,318 |
| Sep 19, 2026 | 1,403 |
| Sep 18, 2026 | 1,743 |
| Sep 17, 2026 | 1,643 |
| Sep 16, 2026 | 1,724 |
| Sep 15, 2026 | 1,750 |
| Sep 14, 2026 | 1,629 |
| Sep 13, 2026 | 1,641 |
| Sep 12, 2026 | 1,511 |
| Sep 11, 2026 | 1,253 |
| Sep 10, 2026 | 1,376 |
| Sep 9, 2026 | 1,289 |
| Sep 8, 2026 | 1,268 |
| Sep 7, 2026 | 1,285 |
| Sep 6, 2026 | 1,327 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1127989065-root)<a href="https://payloaddirectory.dev/plugins/1127989065-root"><img src="https://payloaddirectory.dev/badge/1127989065-root.svg" alt="Payload Directory"></a>README
A PayloadCMS plugin for integrating Puck visual page builder. Build pages visually with drag-and-drop components while leveraging Payload's content management capabilities.
The Puck editor inside the Payload admin, with a Card selected and its Style tab open
Documentation: plugins.delmaredigital.com/docs/puck · Overview
⚠️ Upgrading to 0.10.x from 0.9? Breaking — requires
@puckeditor/core0.24. Runpnpm add @puckeditor/core@^0.24.0. The built-in components now arrange their sidebar fields in General / Style / Layout tabs, and the action bar shows a drag handle (dnd={{ enableDragHandle: false }}onPuckEditorhides it). Saved page data is unchanged. 0.10.1 only raises dependency floors. 0.10.2 is a security fix — upgrade recommended: the admin editor view now applies the collection's read access. It also makes the admin editor full-screen, and the canvas no longer inherits the admin page's CSS; list any stylesheet your preview needs ineditorStylesheets. 0.10.3 addsintegrations(bundles of components, categories and editor plugins from other packages); nothing changes if you don't use them. 0.11.0 is a security fix and breaking: anonymous callers can read published pages only (collections with drafts turned off are unaffected), so a preview that reads drafts without a signed-in user must pass one or setaccess.read; see upgrading. See the CHANGELOG.Coming from an older version? The Upgrade Guide lists what each breaking or security release needs.
Covers installation, configuration, components, custom fields, theming, layouts, dark mode, page-tree integration, hybrid integration, AI integration, and more.
pnpm add @delmaredigital/payload-puck @puckeditor/core
| Dependency | Version |
|---|---|
node | >= 20.9.0 |
@puckeditor/core | >= 0.24.0 |
payload | >= 3.69.0 |
@payloadcms/next | >= 3.69.0 |
next | >= 15.4.8 (see security note below) |
react | >= 19.2.1 |
Using
@delmaredigital/payload-better-auth? Any published version works — its auth strategy stampscollectionon the user, which is what 0.9's access resolution needs. 0.9.0 or later is recommended: it is the first release where the recommendedpayload.auth()wiring, combined with the request headers 0.9 now forwards into Payload, is free of side effects for API-key requests. Current is0.11.3, which requires Better Auth1.7.
Note: Puck 0.21+ moved from
@measured/puckto@puckeditor/core. This plugin requires the new package scope.
Security: If your app uses Next.js middleware (or proxy.ts) to protect dynamic routes, use
next>= 15.5.16 / 16.2.5 to pick up the fix for CVE-2026-44574 (middleware bypass via dynamic route parameter injection). Turbopack users need >= 15.5.18 / 16.2.6.
// src/payload.config.ts
import { buildConfig } from 'payload'
import { createPuckPlugin } from '@delmaredigital/payload-puck/plugin'
export default buildConfig({
plugins: [
createPuckPlugin({
pagesCollection: 'pages',
}),
],
})
// app/(app)/layout.tsx
import { PuckConfigProvider } from '@delmaredigital/payload-puck/client'
import { editorConfig } from '@delmaredigital/payload-puck/config/editor'
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>
<PuckConfigProvider config={editorConfig}>
{children}
</PuckConfigProvider>
</body>
</html>
)
}
// app/(frontend)/[[...slug]]/page.tsx
import { getPayload } from 'payload'
import config from '@payload-config'
import { PageRenderer } from '@delmaredigital/payload-puck/render'
import { baseConfig } from '@delmaredigital/payload-puck/config'
import { notFound } from 'next/navigation'
async function getPage(slug?: string[]) {
const payload = await getPayload({ config })
const slugPath = slug?.join('/') || ''
const { docs } = await payload.find({
collection: 'pages',
where: {
and: [
{ _status: { equals: 'published' } },
slugPath
? { slug: { equals: slugPath } }
: { isHomepage: { equals: true } },
],
},
limit: 1,
})
return docs[0] || null
}
export default async function Page({ params }: { params: Promise<{ slug?: string[] }> }) {
const { slug } = await params
const page = await getPage(slug)
if (!page) notFound()
return <PageRenderer config={baseConfig} data={page.puckData} />
}
That's it! The plugin registers the editor view, API endpoints, and "Edit with Puck" buttons automatically.
Copy starter files from GitHub or the starter files guide. See examples/README.md for the file guide and setup notes. The npm package ships only dist; examples must be copied from GitHub or the docs. Contributors can check them against the source exports with pnpm typecheck:examples.
For everything else — components, custom fields, theming, layouts, dark mode, page-tree integration, hybrid integration, AI integration, advanced configuration, and the full export reference — see the full documentation.
An integration bundles Puck components, categories and optional editor plugins. Host components and category fields win; integrations fill missing component keys and append category names. Config helpers ignore plugins.
// Render config
import { extendConfig, baseConfig, type PuckIntegration } from '@delmaredigital/payload-puck/config'
const integrations: readonly PuckIntegration[] = [{
name: 'dummy',
components: { DummyBlock: { render: () => <div>Dummy block</div> } },
categories: { custom: { title: 'Custom', components: ['DummyBlock'] } },
}]
export const renderConfig = extendConfig({ base: baseConfig, integrations })
'use client'
import { PuckConfigProvider, type PuckIntegration } from '@delmaredigital/payload-puck/client'
import { editorConfig } from '@delmaredigital/payload-puck/config/editor'
import type { ReactNode } from 'react'
const integrations: readonly PuckIntegration[] = [{
name: 'dummy',
components: { DummyBlock: { render: () => <div>Dummy block</div> } },
categories: { custom: { title: 'Custom', components: ['DummyBlock'] } },
}]
export function EditorProvider({ children }: { children: ReactNode }) {
return <PuckConfigProvider config={editorConfig} integrations={integrations}>{children}</PuckConfigProvider>
}
Create the integration array once at module scope: a new array per render rebuilds the editor config. PuckEditor also accepts integrations directly. Integration plugins follow prop and context plugins; named integration plugins are deduped against prop, context and earlier integration plugins. plugins={false} disables all plugins while integration components still apply.
The editor applies integrations without exclude, so to opt out of an integration's component, omit that integration from the provider or define your own component under the same key, which wins.
Every block can be hidden from the live page, or only on phone, tablet or desktop, while staying editable (grayed out) in the editor. Nothing to set up. See Showing and hiding blocks.
Every block's action bar has Copy block. Once a block is copied, Paste after puts it right after the selected block, and Paste inside fills one of a block's slots, including an empty one. Cmd/Ctrl+C and Cmd/Ctrl+V do the same on a selected block, outside text fields. The copied block, with everything inside it, is stored unencrypted in the browser for up to 24 hours, readable through the editor by the signed-in user only, so you can paste it on another page. Signing out doesn't delete it; see the docs for when it's deleted. Turn it off with copyPaste={false} on PuckEditor. See Copying and pasting blocks.
Use @delmaredigital/payload-experiments to run experiments on Puck slots through an integration. Works with: payload-experiments ≥0.4.0 ↔ payload-puck ≥0.10.3.
MIT
next
Next.js helpers for rendering Blockwright pages and theme templates in App Router projects
6322/wk3v3
blockwright
Visual drag-and-drop page and theme builder for Payload CMS with widgets, forms, menus and templates
6022/wk3v3
payload plugin
Payload plugin for Blockwright adding layouts, templates, menus, forms and a visual page editor
5925/wk3v3
payload plugin presets
Save and apply reusable block configurations as presets from the Payload admin blocks drawer
786.7k/wk37v3
payload plugin stacked editing
Stacked, breadcrumb-navigated editing panels for nested blocks and arrays in the Payload admin
71250/wk37v3
plugin
Inline click-to-edit and block operations on top of Payload Live Preview
5465/wk0v3