Presets

Save and apply reusable block configurations as presets in the Payload admin panel.

Community 16 249/wk MIT v0.12.0

Installation

pnpm add @focus-reactive/payload-plugin-presets

About

This plugin lets editors save a block's field values as a named preset and re-apply that preset with one click elsewhere in the admin panel. It is aimed at teams that reuse the same block configurations across pages and want to avoid re-entering values each time. The plugin auto-discovers every block defined in your collections and globals, so you do not modify existing blocks or collections. On startup it walks the config, registers each block as a preset type, and injects Save and Apply controls into the block label and a custom blocks drawer. A `presets` collection stores each preset as a single block row, with an optional preview image and a localized name field. Configuration is optional. You can keep the defaults, or pass a `presetTypes` array to override the label or fields per block slug. The collection slug, labels, media collection, and access control are all configurable, and an `overrides` object accepts custom access rules, field transforms, hooks, and admin options. For local development you can swap the npm package name for a local path so admin components resolve without a published package. The plugin ships with English and Spanish translations and works with both the MongoDB and SQL adapters. SQL projects need a migration after install; MongoDB does not. It is a Payload v3 plugin with peer dependencies on `payload`, `@payloadcms/ui`, Next.js, and React.

Package info

Package name
@focus-reactive/payload-plugin-presets
Latest version
0.12.0
Unpacked size
249 kB
License
MIT
Weekly downloads
249
Last publish
Jun 28, 2026

More from focusreactive

View profile

Similar plugins

More in Content