Skip to Content
Delmare Digital
Reference

Export reference

Every entry point of @delmaredigital/payload-puck and what it exports.

The package is split into entry points so server code never imports client-only modules. Import from the narrowest one that has what you need.

Entry pointExports
@delmaredigital/payload-puckcreatePuckPlugin, getPuckFields, field definitions (puckDataField, editorVersionField, pageLayoutField, isHomepageField, seoFieldGroup, conversionFieldGroup and their factories), generatePagesCollection, TemplatesCollection, types
@delmaredigital/payload-puck/plugincreatePuckPlugin, getPuckCollectionConfig, getPuckFields, createIsHomepageUniqueHook, unsetHomepage, HomepageConflictError, generatePagesCollection, generatePuckEditField, TemplatesCollection
@delmaredigital/payload-puck/configbaseConfig, createConfig(), extendConfig() / mergeConfigs(), applyIntegrations, DEFAULT_LAYOUTS, createLayout, PuckIntegration type
@delmaredigital/payload-puck/config/editoreditorConfig, fullConfig, minimalConfig, defaultRoot, pageTreeRoot, extendConfig() / mergeConfigs(), applyIntegrations, PuckIntegration type
@delmaredigital/payload-puck/clientPuckEditor, PuckConfigProvider, usePuckConfig, EditWithPuckButton, EditWithPuckLink, page-tree utilities, applyIntegrations, PuckIntegration type
@delmaredigital/payload-puck/editorPuckEditor, PuckEditorView, HeaderActions, editor components, hooks and plugins; see Editor props
@delmaredigital/payload-puck/rscPuckEditorView for Payload admin views
@delmaredigital/payload-puck/renderPageRenderer, HybridPageRenderer, toHybridPageData, createRenderLayouts
@delmaredigital/payload-puck/fieldsCustom Puck fields, createFieldLayout, CSS helpers, value types
@delmaredigital/payload-puck/componentsIndividual component configs, editor and server variants, AnimatedWrapper
@delmaredigital/payload-puck/themeThemeProvider, useTheme, theme defaults and utilities
@delmaredigital/payload-puck/layoutsLayout definitions, createLayout, mergeLayouts, createRenderLayouts, LayoutWrapper, DEFAULT_LAYOUTS, EXTENDED_LAYOUTS
@delmaredigital/payload-puck/apiAPI route factories for custom implementations
@delmaredigital/payload-puck/aiAI plugins, hooks, config utilities, tools and API routes
@delmaredigital/payload-puck/emailEmailRenderer, renderToEmailHtml, getEmailDocumentParts, emailBaseConfig, emailEditorConfig, email utilities
@delmaredigital/payload-puck/email/componentsIndividual email component configs (server, editor, types)
@delmaredigital/payload-puck/admin/clientEditWithPuckButton, EditWithPuckCell

Which config where

  • Server components and PageRenderer: /config, /render, /layouts. Read individual built-in server configs from baseConfig.components on /config.
  • The editor and anything with 'use client': /config/editor, /client or /editor, /fields.

/components is a client entry point, including its *ServerConfig exports. Those exports become client references in a Server Component and cannot be passed as configs to PageRenderer.

See Server vs client config.

Edit this page on GitHub

On this page