Puck Visual Editor

The Puck visual editor as an EmDash field widget: edit any JSON field as a page layout, render it on the public site, pick images from the media library and optionally use Puck AI.

Plugin

Puck Visual Editor

The Puck visual editor as an EmDash field widget: edit any JSON field as a page layout, render it on the public site, pick images from the media library and optionally use Puck AI.

  • Category: Editor Experience
  • Status: available
  • Version: 0.3.0
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-01
  • Compatibility: EmDash >=0.35.0 <2.0.0
  • Maintainer: Marko Stankovic

The Puck visual editor as an EmDash field widget: edit any JSON field as a page layout, render it on the public site, pick images from the media library and optionally use Puck AI.

Installation

Install the package from npm:

npm install emdash-plugin-puck

Register the plugin in your Astro config:

import emdash from "emdash/astro";
import puck from "emdash-plugin-puck";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [
        puck({ adminEntry: new URL("./src/puck/admin.tsx", import.meta.url).href }),
      ],
    }),
  ],
  vite: {
    optimizeDeps: {
      // Required. Add "@puckeditor/plugin-ai" if used, and every bare
      // dependency your blocks import. See "optimizeDeps" below.
      include: ["@puckeditor/core"],
    },
  },
});

Details