EmDash Page Builder

A page builder for EmDash: versioned block types and the Astro components that render them, on EmDash's own fields.

Plugin

EmDash Page Builder

A page builder for EmDash: versioned block types and the Astro components that render them, on EmDash's own fields.

  • Category: Content
  • Status: available
  • Version: 0.6.0
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-16
  • Compatibility: EmDash ^1.4.0
  • Maintainer: James Ryan

A page builder for EmDash: versioned block types and the Astro components that render them, on EmDash’s own fields.

Installation

Install the package from npm:

npm install emdash-plugin-page-builder

Register the plugin in your Astro config:

import pageBuilderPlugin from "emdash-plugin-page-builder/plugin";

emdash({
  plugins: [pageBuilderPlugin()],
});

The package needs Node.js 24 or newer and the peer dependencies astro ^6.4.8 || ^7.2.8 and emdash ^1.4.0. Block types, shapes and migration helpers are exported from emdash-plugin-page-builder/blocks, and the renderer from emdash-plugin-page-builder/blocks/PageBuilder.astro.

The native plugin entry emdash-plugin-page-builder/plugin enforces required block fields before publishing. The optional emdash-page-builder CLI plans and applies block-type changes to a site; run npx emdash-page-builder apply <site-url> with EMDASH_TOKEN set, and add --apply to write them.

Details