Combines several Atomic Payload packages into one runtime for building websites from Payload content. It provides plugin factories for action blocks, recursive child blocks and form handling, plus a beforeChange hook that processes CSS and UnoCSS against a design set. It depends on other @pro-laico packages such as core, styles and site, and requires Payload 3 or later.
Atomic Payload runtime: action blocks, beforeChange hook + CSS/UnoCSS processor, form processing pipeline, and child blocks plugin. Replaces the older ap-actions + ap-atomic-hook + ap-forms + children packages.
Installation
npm i @pro-laico/atomic37
Stars
0
Forks
0
Open Issues
2 months ago
Last Updated
1
Weekly Downloads
v0.5.0
npm Version
910.3 KB
Unpacked Size
7
Dependencies
Trends appear after 7 days of data. Collecting since Oct 22 — 2 daily snapshots so far.
Shared by 10 plugins in pro-laico/atomic-payload.
Trends appear after 7 days of data. Collecting since Oct 22 — 2 daily snapshots so far.
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/1128550352-atomic)<a href="https://payloaddirectory.dev/plugins/1128550352-atomic"><img src="https://payloaddirectory.dev/badge/1128550352-atomic.svg" alt="Payload Directory"></a>README
The runtime that turns Payload content into a working website — action blocks, the beforeChange hook with CSS/UnoCSS processor, the form submission pipeline, and the child blocks plugin, all in one package. Part of Atomic Payload.
Build entire custom components using Atomic Child Blocks. Combined with Payload's CPD functionality, you can reuse components with ease.
[!NOTE] Once Payload CMS implements Sanity Style CPD, you will be able to reuse components across projects.
Actions create interactivity and reactivity for your application for all atomic blocks. Including functionality such as opening/closing dialogs/popovers, toggling dark mode, converting stateful values to data attributes, or just submitting a form.
[!NOTE] Actions utilize a block structure so you can extend them by adding a new action block.
All of the above functionality meshes with the additional Sanitation, Validation and Rate Limiting for forms and their inputs. Allowing you to build fully customizable forms.
[!NOTE] SVR's utilize a block structure so you can extend them by adding a new SVR block.
@pro-laico/core — primitives the runtime builds on (read this first).@pro-laico/styles — the CSS / UnoCSS processor (createCssProcessor) the hook runs against the design set.@pro-laico/icons — IconChild / SVGChild block factories in the default child set.@pro-laico/images — ImageChild block factory in the default child set.@pro-laico/mux-video — VideoChild block factory in the default child set.@pro-laico/richtext — RichTextChild block factory in the default child set.@pro-laico/site — collection shapes the runtime attaches to.@pro-laico/zap — zap schemas for blocks.| Import | What's there |
|---|---|
@pro-laico/atomic | Root barrel — the three block plugin factories (childBlocksPlugin, actionsPlugin, formsPlugin), the ChildrenBlocksField, and the ready-made atomicHook. |
@pro-laico/atomic/actions | Action blocks (theme toggle, form submit, cookie consent, dynamicStore, portal): actionsPlugin, AllActionBlocks, ActionFilters, ActionBlockStorageProcessor. |
@pro-laico/atomic/hook | The beforeChange orchestrator that runs CSS/UnoCSS through the design-set pipeline: atomicHookPlugin, atomicHook, createAtomicHook, atomicHookWith. |
@pro-laico/atomic/hook/client | The client zustand AtomicStore binding (AtomicStoreProvider, useAtomicStore, createAtomicStore). |
@pro-laico/atomic/forms | Form & input submission with sanitation, validation, and rate limiting: formsPlugin, defaultSubmitFormBlocks, form types. |
@pro-laico/atomic/forms/submitForm/serverFunction | The submitForm server action (kept off the barrel to avoid circular init). |
@pro-laico/atomic/children | The recursive child blocks plugin: childBlocksPlugin, buildChildBlocks, childBlocks, ChildrenBlocksField. |
@pro-laico/atomic/children/render | Front-end tree renderer (RenderChildren, SSRProps). |
Topics
payload plugin json form builder
Turn a Payload JSON field into real admin fields with an in-admin form builder
6762/wk29v3
richtext
Rich-text child block, default Lexical editor preset and JSX renderer for Atomic Payload
611/wk37v3
form builder
Let admin editors build and manage forms from within the Payload admin panel
10074.5k/wk45.4kv3 v4
payload better editor
Side-by-side live-preview iframe with a sidebar for editing individual blocks in the Payload edit view
86805/wk113v3
payload plugin presets
Save block configurations as reusable presets and apply them from an enhanced blocks drawer in the admin
7810.5k/wk29v3
next
Next.js helpers for rendering Blockwright pages and theme templates in App Router projects
7240/wk3v3