Live Preview

Live preview for server-rendered and static frontends, with in-place field updates

Community 7 293/wk MIT v2.5.0

Installation

pnpm add payload-live-preview

About

Live Preview updates a Payload admin preview as the editor types, without a full page reload, on Astro, Next.js, SvelteKit, Nuxt and plain HTML sites. You mark the parts of a server-rendered page that map to document fields, and those spots are patched in place as each change arrives. When a change needs more than a text swap, such as a rich text block or a relationship, your server renders that section again from the unsaved form data. Client-rendered React and Vue apps get hooks that pass the live document to their component tree.

Package info

Package name
payload-live-preview
Latest version
2.5.0
Unpacked size
14.3 MB
License
MIT
Weekly downloads
293
Last publish
Nov 24, 2026

Hover outlines and Edit buttons on a frontend that open the matching field in the admin

Lets Puck components pull filtered Payload collection items into a resolved prop

Registers custom drag-and-drop blocks for the Olgax page builder

Ready-made page sections like hero, header, footer, pricing and FAQ for a visual page editor

Renders Payload Lexical rich text as native Astro components

React admin bar that puts Payload editing controls on your frontend pages