Adds a modular dashboard to the Payload admin with Figure, List and Chart widgets that read from any collection. Editors can set widgets up in a drawer in edit mode, or developers can predefine them in the plugin config with typed helpers. Reads run as the signed-in user so access control applies. Requires Payload 3.90 or later (or the 4.0 beta), React 19 and the import map regenerated.
Payload CMS plugin for dashboard widgets: KPI figures, lists and charts that read from your collections, set up in the config or by whoever is looking.
Installation
npm i payload-plugin-widgets2
Stars
0
Forks
0
Open Issues
Yesterday
Last Updated
536
Weekly Downloads
v0.7.1
npm Version
671.3 KB
Unpacked Size
0
Dependencies
2+2 since Oct 11
| Date | Stars |
|---|---|
| Dec 6, 2026 | 2 |
| Dec 5, 2026 | 2 |
| Dec 4, 2026 | 2 |
| Dec 3, 2026 | 2 |
| Dec 2, 2026 | 2 |
| Dec 1, 2026 | 2 |
| Nov 30, 2026 | 2 |
| Nov 29, 2026 | 2 |
| Nov 28, 2026 | 2 |
| Nov 27, 2026 | 2 |
| Nov 26, 2026 | 2 |
| Nov 25, 2026 | 2 |
| Nov 24, 2026 | 2 |
| Nov 23, 2026 | 2 |
| Nov 22, 2026 | 2 |
| Nov 21, 2026 | 2 |
| Nov 20, 2026 | 2 |
| Nov 19, 2026 | 2 |
| Nov 18, 2026 | 2 |
| Nov 17, 2026 | 2 |
| Nov 16, 2026 | 2 |
| Nov 15, 2026 | 2 |
| Nov 14, 2026 | 2 |
| Nov 13, 2026 | 2 |
| Nov 12, 2026 | 2 |
| Nov 11, 2026 | 2 |
| Nov 10, 2026 | 2 |
| Nov 9, 2026 | 2 |
| Nov 8, 2026 | 2 |
| Nov 7, 2026 | 2 |
| Nov 6, 2026 | 2 |
| Nov 5, 2026 | 2 |
| Nov 4, 2026 | 2 |
| Nov 3, 2026 | 2 |
| Nov 2, 2026 | 2 |
| Nov 1, 2026 | 2 |
| Oct 31, 2026 | 2 |
| Oct 30, 2026 | 2 |
| Oct 29, 2026 | 2 |
| Oct 28, 2026 | 2 |
| Oct 27, 2026 | 2 |
| Oct 26, 2026 | 2 |
| Oct 25, 2026 | 2 |
| Oct 24, 2026 | 2 |
| Oct 23, 2026 | 2 |
| Oct 22, 2026 | 2 |
| Oct 21, 2026 | 2 |
| Oct 20, 2026 | 2 |
| Oct 19, 2026 | 2 |
| Oct 18, 2026 | 2 |
| Oct 17, 2026 | 2 |
| Oct 16, 2026 | 2 |
| Oct 15, 2026 | 2 |
| Oct 14, 2026 | 1 |
| Oct 13, 2026 | 1 |
| Oct 12, 2026 | 0 |
| Oct 11, 2026 | 0 |
410−11 since Oct 15
| Date | Weekly downloads |
|---|---|
| Dec 6, 2026 | 410 |
| Dec 5, 2026 | 397 |
| Dec 4, 2026 | 437 |
| Dec 3, 2026 | 487 |
| Dec 2, 2026 | 577 |
| Dec 1, 2026 | 986 |
| Nov 30, 2026 | 1,105 |
| Nov 29, 2026 | 1,226 |
| Nov 28, 2026 | 1,127 |
| Nov 27, 2026 | 1,223 |
| Nov 26, 2026 | 1,191 |
| Nov 25, 2026 | 1,094 |
| Nov 24, 2026 | 698 |
| Nov 23, 2026 | 569 |
| Nov 22, 2026 | 402 |
| Nov 21, 2026 | 343 |
| Nov 20, 2026 | 205 |
| Nov 19, 2026 | 182 |
| Nov 18, 2026 | 162 |
| Nov 17, 2026 | 116 |
| Nov 16, 2026 | 66 |
| Nov 15, 2026 | 38 |
| Nov 14, 2026 | 45 |
| Nov 13, 2026 | 55 |
| Nov 12, 2026 | 57 |
| Nov 11, 2026 | 62 |
| Nov 10, 2026 | 58 |
| Nov 9, 2026 | 58 |
| Nov 8, 2026 | 57 |
| Nov 7, 2026 | 56 |
| Nov 6, 2026 | 50 |
| Nov 5, 2026 | 45 |
| Nov 4, 2026 | 40 |
| Nov 3, 2026 | 46 |
| Nov 2, 2026 | 52 |
| Nov 1, 2026 | 55 |
| Oct 31, 2026 | 53 |
| Oct 30, 2026 | 43 |
| Oct 29, 2026 | 40 |
| Oct 28, 2026 | 39 |
| Oct 27, 2026 | 38 |
| Oct 26, 2026 | 29 |
| Oct 25, 2026 | 33 |
| Oct 24, 2026 | 86 |
| Oct 23, 2026 | 81 |
| Oct 22, 2026 | 284 |
| Oct 21, 2026 | 705 |
| Oct 20, 2026 | 700 |
| Oct 19, 2026 | 696 |
| Oct 18, 2026 | 684 |
| Oct 17, 2026 | 624 |
| Oct 16, 2026 | 624 |
| Oct 15, 2026 | 421 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1416019911-root)<a href="https://payloaddirectory.dev/plugins/1416019911-root"><img src="https://payloaddirectory.dev/badge/1416019911-root.svg" alt="Payload Directory"></a>README
A Payload CMS plugin for dashboard widgets that read from your collections: KPI figures, lists and charts. Add the plugin and every collection can be put on the admin dashboard. Whoever is signed in can set a widget up in a drawer, a project can put some there ready-made, and the same three can stand on any other page of the admin.

pnpm add payload-plugin-widgets # or npm install, or yarn add
// payload.config.ts
import { buildConfig } from 'payload'
import { widgetsPlugin } from 'payload-plugin-widgets'
export default buildConfig({
// …
plugins: [widgetsPlugin()],
})
Then write the import map again, as after adding any plugin that brings components:
pnpm payload generate:importmap
That is all. There is no stylesheet to add and no route to mount. Put the plugin after the plugins that add collections.
With nothing but widgetsPlugin(), open the dashboard and choose Edit Dashboard from the menu beside its name.
Then add a "Figure", a "List" or a "Chart". Its drawer opens as it is added, with a preview of the widget and a few
ready choices to start from; the pencil on a widget opens it again.
To have a dashboard that starts with something on it, here for collections tasks (with status and dueDate)
and orders (with total), as in the demo:
import { chart, figure, list, widgetsPlugin } from 'payload-plugin-widgets'
widgetsPlugin({
currency: 'EUR',
timeZone: 'Europe/Zagreb',
widgets: [
figure('tasks', { label: 'Open tasks', where: { status: { not_equals: 'done' } } }),
figure('tasks', { label: 'Overdue', where: { dueDate: { less_than: 'today' }, status: { not_equals: 'done' } } }),
figure('orders', { label: 'Sold this month', measure: 'total', period: 'month', compare: 'previous' }),
chart('orders', { label: 'Orders by month', measure: 'total', by: 'time', period: 'last12', as: 'columns' }),
list('orders', { label: 'Latest orders', limit: 5 }),
],
})
The editor offers and checks the collection slugs and the field names in where, measure, by and date, from
your payload-types.ts. The config checks them again as it is built.
figure(…), list(…) and chart(…) put widgets there ready-made. They are typed against
your generated types, and checked as the config is built with a "did you mean" where a name is off.
Configuration,
where and dates,
errorsaccess
functions, written as Payload's own are, say who else a widget is not for.
Who sees what| Payload | 3.90 or later (the modular dashboard), or the 4.0 beta |
| Next.js | what your Payload supports; developed on 16.4 |
| React | 19 |
| Node | 20.9 or later |
| Database | any Payload adapter |
Payload 4 is in beta, and so is the support for it here: the same code is type-checked and tested on 4.0.0-beta.11, which wants Node 24 and Next.js 16.4.5 or later, and the tiles fall back to its colours. A later beta may change what this relies on.
Developed with Payload 3.90.2, Next.js 16 and React 19.3 on Postgres. The tests run on Payload 3.90.0 and the latest 3.x, on Next.js 15.4 and 16, and on Node 22 and 24.
dev/, a small shop with made-up data that every screenshot is taken of.MIT © Matija Grgić
Topics
payload theme
shadcn-style redesign of the Payload admin with dashboard, command palette, dark mode and live theme customizer
751.8k/wk36v3
payload plugin presets
Save and apply reusable block configurations as presets from the Payload admin blocks drawer
786.7k/wk37v3
payload plugin visual editing
Click-to-edit overlays on your frontend that focus the matching field in the Payload admin
741.4k/wk37v3
theme management
Theme presets, live preview and WCAG audit for editing site appearance from the Payload admin
73130/wk9v3
payload plugin stacked editing
Stacked, breadcrumb-navigated editing panels for nested blocks and arrays in the Payload admin
71250/wk37v3
payload solid admin bar
WordPress-style admin bar shown in the Payload admin and on the Next.js website for logged-in editors
6596/wk0v3