Ready-made Users, Media, Pages, Sections and site settings for Olgax DXP sites
Olgax Datasource
Lets Puck components pull filtered Payload collection items into a resolved prop
Installation
pnpm add @olgax.com/datasource About
Olgax Datasource lets a Puck block pull items from a Payload collection without writing a query in the component. The page builder author picks a collection, an optional single equality filter, and an item limit, and the matching documents arrive in the component as a ready-to-render list. The editor sees the resolved items as read-only.
It works in the visual editor and on the rendered page. The editor loads items through a same-app endpoint, while server rendering can query Payload directly. Filtering handles one field with an exact match, so it suits lists like related pages or items in a category, not complex query logic.
Package info
- Package name
@olgax.com/datasource- Latest version
0.1.3- Unpacked size
- 10 kB
- License
- MIT
- Weekly downloads
- 8
- Last publish
- Oct 3, 2026
More from OLGAX-com
View profileRegisters custom drag-and-drop blocks for the Olgax page builder
Ready-made page sections like hero, header, footer, pricing and FAQ for a visual page editor
Similar tools
More in Frontend renderingReact hook and refresh component for Payload Live Preview in frontend apps
Vue composable that wires a Payload Live Preview into a Vue frontend
React admin bar that puts Payload editing controls on your frontend pages
Client SDK that streams live Payload draft edits into a frontend preview
Renders Lexical rich text content from Payload in Astro sites
Manifest, linter and Payload block generator for a design system's components