Book a call Free rebuild
Home/Glossary/EmDash/Native Plugin

Native Plugin

By Seahawk November 16, 2026

EmDash glossaryA native plugin is an EmDash plugin that runs inside the site with full access. It is installed from npm and needs a redeploy.

A native plugin is an EmDash plugin that runs in the same process as the Astro site. It is an npm package: you install it, add it to astro.config.mjs, and redeploy.

When native is needed

  • Custom React pages or widgets in the admin panel.
  • Custom Portable Text block types with their own rendering components.
  • Injecting scripts, styles, or raw HTML into public pages.

The trade-off

There is no isolation and there are no per-plugin limits: a native plugin has the same access as the site, so a bug can crash it and a malicious one can read its secrets. Treat it like code you add to the site yourself, and prefer a sandboxed plugin when one will do.

Source: EmDash docs: Choosing a plugin format.

Em Workers

EmDash and Astro sites at revolutionary pricing.

Lightning-fast, secure websites delivered on EmDash and Astro. For the AI-curious bunch.