Presets
Save and apply reusable block configurations as presets in the Payload admin panel.
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 profileTranslator
Translates localized Payload CMS content into any locale via pluggable providers, with document, bulk-collection, and per-field controls in the admin UI.
A/B Testing
A/B testing plugin that creates page variants in Payload collections and routes traffic at the edge via Next.js middleware.
Analytics
Adds a GA4-backed analytics dashboard inside the Payload admin, with KPIs, sessions, and lead-action tracking driven by the GA4 Data API and gtag.js.
SEO
Adds live Yoast SEO analysis to the Payload v3 document editor with a SERP preview, keyphrase checks, and readability scoring.
Collaborative Comments
Adds document-level and field-level comments to the Payload admin panel, with @mentions, email notifications, resolution, multi-tenancy and locale filtering.
Create Ideal CMS
Scaffolds a production-ready Payload CMS monorepo preconfigured with the @focus-reactive plugin suite.
Similar plugins
More in ContentMenus
Adds a menus collection to Payload for building navigation with nested items, collection links, custom URLs, icons, and preview images.
Reservation and Booking Manager
Manage reservations and bookings through Payload CMS with conflict detection and scheduling.
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.
FixedLink
Adds short links on your own domain to Payload documents, with links that keep working after slug changes through the FixedLink service.
Nested Docs Page Tree
Adds a nested tree view for managing documents in Payload CMS.