EDS Coder Open builder

aem-boilerplate vs aem-boilerplate-xwalk: Which EDS Starter Should You Use?

A file-by-file comparison of Adobe's two Edge Delivery Services starters, aem-boilerplate and aem-boilerplate-xwalk: content sources, Universal Editor support, component models, and how to choose.

On this page 7 sections
  1. The one question that decides it
  2. What's the same
  3. What only the xwalk boilerplate has
  4. What only the standard boilerplate has
  5. Can you switch later?
  6. A quick decision checklist
  7. Why EDS Coder starts from xwalk

Every Edge Delivery Services (EDS) project starts by copying one of two GitHub templates:

  • adobe/aem-boilerplate, the standard starter for document-based authoring.
  • adobe-rnd/aem-boilerplate-xwalk, the starter for authoring in AEM as a Cloud Service with the Universal Editor. "xwalk" is short for crosswalk, Adobe's name for connecting AEM authoring to EDS delivery.

They look almost identical at first glance: same blocks/, scripts/ and styles/ folders, same three-phase loading, same 100 Lighthouse target. The difference is where content comes from, and that decides almost everything else.

This comparison is based on both repositories as of November 2026.

The two EDS boilerplates side by side

The one question that decides it#

Where will your authors write content?

  • In da.live (Document Authoring), SharePoint or Google Drive → aem-boilerplate.
  • In AEM author, using the Universal Editor → aem-boilerplate-xwalk.

If you haven't decided that yet, read Universal Editor vs Page Editor vs Document Authoring first. The boilerplate follows from the authoring decision, not the other way round.

What's the same#

Both starters share the core that makes EDS fast:

  • scripts/aem.js, the library that decorates sections and blocks and loads them on demand.
  • scripts/scripts.js with loadEager, loadLazy and loadDelayed.
  • styles/styles.css, lazy-styles.css and fonts.css, with the same design tokens.
  • The same starter blocks: cards, columns, fragment, header, footer and hero.
  • The same environments: https://main--{repo}--{owner}.aem.page/ for preview and .aem.live for live.
  • The AEM Code Sync GitHub app and aem up for local development.

A block's decorate function receives the same rows-and-cells markup in both, so block code is largely portable between them.

What only the xwalk boilerplate has#

File or folder What it does
fstab.yaml Mounts content from an AEM author instance (/bin/franklin.delivery/...) instead of documents
component-definition.json Lists the components authors can add in the Universal Editor
component-models.json Defines the fields in each component's properties panel
component-filters.json Controls which components can go inside which containers
models/ and blocks/*/_*.json Source partials that are merged into the three files above
scripts/editor-support.js, editor-support-rte.js Re-decorates blocks live as authors edit in the Universal Editor
scripts/dompurify.min.js Sanitises editor updates before they're put into the page
xwalk.json Feature flags for the AEM integration, such as multi-field support
helix-query.yaml, helix-sitemap.yaml Index and sitemap configuration kept in the repo
.husky/pre-commit Rebuilds the merged component-*.json files when you commit a changed partial

It also adds moveInstrumentation() to scripts.js. Block code calls it to carry the editor's data-aue-* attributes over to the new elements it creates, so authors can still select and edit them after decoration. Compare the two cards.js files and that's the only difference.

The xwalk README lists AEM Cloud Service release 2026.4 or newer as a prerequisite.

What only the standard boilerplate has#

The standard starter has moved faster on front-end features that don't depend on AEM:

  • A widget block and auto-blocking that turns links to /widgets/... into widget blocks.
  • Consent-aware delayed loading. loadDelayed() imports consent-check.js, which only loads consented.js (your analytics and martech) after consent is given. The xwalk starter still uses the older pattern: delayed.js, imported three seconds after load.
  • A Trusted Types policy in scripts.js.
  • No fstab.yaml. The template doesn't ship a content mount, because new document-based sites are usually connected through da.live and the configuration service.

None of these are tied to document authoring. If you start from xwalk and want consent-gated martech or the Trusted Types policy, copy them across.

Can you switch later?#

The code, mostly yes. The content, no.

  • Moving blocks from the standard boilerplate to xwalk means adding a _<block>.json model for each block and moveInstrumentation calls where your decorate replaces elements.
  • Moving the other way means deleting those files; the block code keeps working.
  • Content can't move with a config change. Documents and AEM pages are different stores, so changing authoring means migrating content.

That asymmetry is a good reason to design block content contracts that work in both: one row per field, in a fixed order, with no layout that only a document table can express.

A quick decision checklist#

Choose aem-boilerplate-xwalk if:

  • Your organisation already runs AEM as a Cloud Service and wants authors in AEM.
  • You need AEM features: workflows, MSM and language copies, Content Fragments, granular permissions.
  • Authors want to edit visually, in place, on the rendered page.

Choose aem-boilerplate if:

  • Authors are comfortable in documents and you want the fastest path to a live site.
  • You don't have, or don't want to license, an AEM author tier for this site.
  • You want the newest front-end defaults out of the box.

Why EDS Coder starts from xwalk#

EDS Coder clones aem-boilerplate-xwalk for every new project. The blocks it generates include a Universal Editor model alongside the JavaScript and CSS, so they're ready for AEM authoring. Because the decorate code reads plain rows, the same blocks still render document-authored content. Starting with the larger starter means nothing has to be added later.


Sources: adobe/aem-boilerplate on GitHub · adobe-rnd/aem-boilerplate-xwalk on GitHub · aem.live: AEM authoring · aem.live: Universal Editor tutorial · aem.live: Anatomy of a project

Turn this guide into a working block

Describe a block or drop in a design. EDS Coder writes the JS, CSS and Universal Editor model, previews it live, and syncs to GitHub.

Build a block with AI →

Keep reading

All guides →