Get Started
Install and configure puck
Install and configure puck: Create your own AI page builder
Follow the source instructions for puck. Read the prerequisites and configuration steps before running an example.
Quick start
Install the package:
npm i @puckeditor/core --save # or npx create-puck-app my-appRender the editor:
// Editor.jsx
import { Puck } from "@puckeditor/core";
import "@puckeditor/core/puck.css";
// Create Puck component config
const config = {
components: {
HeadingBlock: {
fields: {
children: {
type: "text",
},
},
render: ({ children }) => {
return <h1>{children}</h1>;
},
},
},
};
// Describe the initial data
const initialData = {};
// Save the data to your database
const save = (data) => {};
// Render Puck editor
export function Editor() {
return <Puck config={config} data={initialData} onPublish={save} />;
}Render the page:
// Page.jsx
import { Render } from "@puckeditor/core";
import "@puckeditor/core/puck.css";
export function Page() {
return <Render config={config} data={data} />;
}Check the installation
After setup, continue with the first example. If a command fails, compare the runtime version, working directory, and required configuration with the original README before changing dependencies.
Source and help
The catalog identifies the license as MIT. Read the repository license before redistributing source or assets.
This catalog entry is a fork. The README may describe upstream packages, domains, or release procedures; those destinations do not establish a separate release of this fork.
Source captured: 2026-10-11
