Builds site and admin themes from color harmonies, with contrast checks in light and dark
Commons
Slug field that fills itself from another field, plus previous and next admin buttons
Installation
pnpm add payload-commons About
Payload Commons is a small set of admin UI pieces and validators for Payload projects. The slug field fills itself in from a title or name field while the editor types, so URL-friendly values need no manual typing. It stops auto-filling once someone edits the slug by hand, and it rejects anything that is not lowercase letters, numbers and dashes.
The previous and next buttons sit in the edit view of a document and move the editor to the neighbouring item in a list. A number range validator is also included for fields that must fall between two bounds.
Package info
- Package name
payload-commons- Latest version
0.0.3- Unpacked size
- 96 kB
- License
- MIT
- Weekly downloads
- 6
- Last publish
- Aug 17, 2025
Similar plugins
More in FieldsPedigree fields, relatives and family-tree views for Payload collections
Color, icon, encrypted and unit-aware measurement fields for Payload admin
Adds theme presets, live preview and contrast checks to the Payload admin
Groups Payload fields inside a drawer that opens from a button or icon
Adds a barcode scan button to text fields in the Payload admin panel