Live Preview

Links Admin blocks and fields to their components in native Live Preview

Community 0 8/wk MIT v0.1.1

Installation

pnpm add @codlume/payload-live-preview

About

Live Preview connects the Payload admin with the frontend components that render each block. Clicking a block in the preview highlights its row in the admin form, and focusing a field in the admin scrolls the preview to the matching component. The link holds up through saves, locale changes, iframe reloads and closing and reopening the preview.

It works with nested blocks and repeated renderings in collections and globals. React frontends get a bridge component, and an optional client-side mode shows unsaved edits, including newly added blocks, as the editor types.

Package info

Package name
@codlume/payload-live-preview
Latest version
0.1.1
Unpacked size
36 kB
License
MIT
Weekly downloads
8
Last publish
Sep 27, 2026

More from codlume

View profile

Adds a BlurHash placeholder to upload collections for blurred image previews

Records the admin user who last edited each collection document or global

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other