Metadata

A global data object provided to Puck for use in resolveData and render.

{
  "title": "My cool page title",
  "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit...",
  ...
}

Params

ParamExampleTypeStatus
[key: string]content: []AnyOptional

resolveData

Metadata can be used during within the resolveData API to apply mutations to the props. Refer to for more information.

render

Metadata can be used during within the render API to alter the final output of the component. Usage here impacts only the rendered output and does not mutate the Puck data. Refer to for more information.