Admin Theme
A shadcn-styled admin theme for Payload whose accent, radius, font, logo and navigation are configured live from the admin panel.
Installation
pnpm add payload-admin-theme About
A shadcn-styled admin theme for Payload that rebrands the panel without touching code. The entire configuration lives in an admin-editable global, so saving the form re-renders the panel. No restart, no rebuild, no deploy. The plugin builds on top of the `payload-theme` package, which supplies the shadcn stylesheet, the icon sidebar, the command palette, and the login layout. What this plugin adds is the configuration layer: a `System > Konfigurasi Admin` global, a server-rendered CSS injector that re-reads the global on every request, and branding components for the sidebar and login screen. It wires those into `config.admin.components`, replacing the base `ThemeProvider`, login hero, and header actions so the database is the single source of truth instead of per-browser `localStorage`. A single accent hex drives the whole panel. The 50-950 scale is computed in OKLCH, and the text color on top of the accent is picked to meet WCAG contrast. Radius (none to full), typography (Inter, Geist, Helvetica, System, Payload), presets (Zinc, Ocean, Forest, Sunset, Berry, Swiss), logo and favicon with dark variants, login background with scrim opacity, content width, and per-collection navigation (Lucide icons, groups, visibility) are all editable from the panel. The same navigation drives the sidebar and the dashboard cards. Two things stay in code because they resolve when the import map is generated, not per request: Lucide icons per collection and dashboard widgets, both passed through `themeOptions`. Light/dark mode is a per-user preference and is not stored in the global. `access`, `globalSlug`, `adminGroup`, `disabled`, and `installBaseTheme` round out the plugin options.
Package info
- Package name
payload-admin-theme- Latest version
1.2.0- Unpacked size
- 508 kB
- License
- MIT
- Weekly downloads
- 17
- Last publish
- Sep 1, 2026
Similar plugins
More in AdminCollaborative Comments
Adds document-level and field-level comments to the Payload admin panel, with @mentions, email notifications, resolution, multi-tenancy and locale filtering.
Dub
A Payload CMS plugin that automatically creates and manages shortlinks using Dub.
Live Preview
Live preview for Payload CMS in Astro and any SSR/static frontend (SvelteKit, Nuxt, Next.js, plain HTML), patching the DOM without rebuilds.
SEO Analyzer
Payload plugin that audits page SEO in the editor sidebar with 50+ checks, a dashboard, score history, redirects and IndexNow.
Admin Nav
Customizable Payload admin sidebar with drag-and-drop reordering, per-user preferences, 70+ icons, nested sub-menus, and a visual customizer view.
Presets
Save and apply reusable block configurations as presets in the Payload admin panel.