Admin Bar

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

Official 45,915 88.6k/wk MIT v3.94.0

Installation

pnpm add @payloadcms/admin-bar

About

Admin Bar is a React component that shows a small toolbar on your public site when a Payload user is logged in. It checks the CMS session, then lets that editor jump to the admin dashboard, open their account, or edit the page they are viewing. Editors can also create a new document of the same type, log out, and switch preview mode on or off without leaving the page. The bar ships with minimal styling and can be restyled or given custom logos and classes to fit your site.

Package info

Package name
@payloadcms/admin-bar
Latest version
3.94.0
Unpacked size
45 kB
License
MIT
Weekly downloads
88.6k
Last publish
Nov 17, 2026

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

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

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

React hook and refresh component for Payload Live Preview in frontend apps

Vue composable that wires a Payload Live Preview into a Vue frontend

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

CLI and registry that installs wired Payload blocks into Next.js projects