Svelte component that adds a Payload admin toolbar to your front-end pages
Live Preview for Svelte
Svelte 5 live preview bindings that update a page as editors change a Payload document
Installation
pnpm add @zapal/payload-live-preview-svelte About
Live Preview for Svelte connects a Svelte 5 frontend to the Payload live preview window, so the page reflects edits as an editor types them. A reactive helper receives the document data from the server, then swaps in fresh values each time the editor sends an update. Until the first update arrives, the page keeps rendering the server-loaded content, so there is no blank flash on mount.
A small companion component tells the frontend to reload its data whenever a document is saved in the admin panel. In SvelteKit, that reload can re-run the page's load functions, so saved changes show up without a manual refresh.
Package info
- Package name
@zapal/payload-live-preview-svelte- Latest version
1.0.0- Unpacked size
- 22 kB
- License
- MIT
- Weekly downloads
- 134
- Last publish
- Apr 25, 2026
More from zapal-tech
View profileStores Payload key-value data in a Cloudflare KV namespace
Sends Payload CMS email through the Sweego REST API with a default sender
Renders Payload Lexical rich text content as React JSX with custom elements
Routes Payload outgoing email through the SendGrid REST API
Generates BlurHash image placeholders automatically for uploads in chosen collections
Similar tools
More in Frontend renderingReact hook and refresh component for Payload Live Preview in frontend apps
Vue composable that wires a Payload Live Preview into a Vue frontend
React admin bar that puts Payload editing controls on your frontend pages
Client SDK that streams live Payload draft edits into a frontend preview
Renders Lexical rich text content from Payload in Astro sites
Manifest, linter and Payload block generator for a design system's components