Admin Bar for Svelte

Svelte component that adds a Payload admin toolbar to your front-end pages

Community 0 13/wk MIT v1.1.1

Installation

pnpm add @zapal/payload-admin-bar-svelte

About

Admin Bar for Svelte is a Svelte component that shows the Payload admin toolbar on the public pages of a Svelte site. Editors who are logged in see a bar with a link back to the dashboard, quick links to edit the current document or create a new one in its collection, and a logout button. The bar can also show enter and exit controls for live preview mode.

The toolbar reads the Payload REST API to check the signed-in user, so editors get the same shortcuts they would see in the Payload admin panel without leaving the site. Button text, the profile label and the styling can be replaced to match the site.

Package info

Package name
@zapal/payload-admin-bar-svelte
Latest version
1.1.1
Unpacked size
46 kB
License
MIT
Weekly downloads
13
Last publish
Apr 27, 2026

More from zapal-tech

View profile

Svelte 5 live preview bindings that update a page as editors change a Payload document

Renders Payload Lexical rich text content as React JSX with custom elements

Generates BlurHash image placeholders automatically for uploads in chosen collections

React 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