Open Source · Browser-Native

Micro Frontends with Web Standards

Native Federation brings the proven mental model of webpack Module Federation to the browser — built on ESM and Import Maps, independent of any specific build tool.

Why Native Federation?

A future-proof approach to Micro Frontends that leverages web standards instead of being tied to a specific bundler.

Module Federation Mental Model

Uses the same proven mental model from webpack Module Federation — hosts, remotes, and shared dependencies — making migration straightforward.

Built on Web Standards

Leverages ESM and Import Maps — emerging web standards — making it independent of build tools like webpack, ensuring long-term compatibility.

Blazing Fast Builds

The reference implementation uses the fast esbuild bundler and caches already-built shared dependencies for maximum performance.

Same Familiar API

Uses the same API and schematics as the Module Federation plugin. Switch by simply changing your import paths — no new concepts to learn.

Shared Dependencies

Intelligently share libraries at runtime. Automatic version negotiation prevents duplicates while handling mismatches gracefully.

Works with Angular CLI & Nx

Successfully tested with both Angular CLI projects and Nx workspaces. Use ng update for seamless upgrades.

First-Class Angular Integration

Native Federation for Angular delegates directly to Angular's esbuild-based ApplicationBuilder, keeping in lockstep with Angular's own innovations.

esbuild ApplicationBuilder

Since 17.1, Native Federation uses Angular CLI's esbuild-based ApplicationBuilder and Dev Server to stay in sync with all performance improvements from the Angular team.

SSR & Incremental Hydration

Full support for Angular's Server-Side Rendering and Incremental Hydration since version 18, enabling better performance and SEO.

I18N & Localization

Angular I18N support since 19.0.13, with localization improvements in 20.0.6 including the ignoreUnusedDeps feature for simplified locale loading.

Version Alignment

Native Federation follows Angular's version numbers for easy compatibility. Use the matching version for your Angular project.

Angular Version Native Federation
Angular 21.x21.x
Angular 20.1.x20.1.x
Angular 20.0.x20.0.x
Angular 19.x19.x
Angular 18.2.x18.2.x
Angular 18.1.x18.1.x
Angular 18.0.x18.x
Angular 17.117.1.x
Angular 17.x17.x
Angular 16.2.x16.2.x
Angular 16.1.x16.1.x

Ready to get started?

Install Native Federation and set up your first Micro Frontend in minutes.

npm i @angular-architects/native-federation -D

Standing on the Shoulders of Giants

Native Federation builds on the work and ideas of many talented people across the JavaScript ecosystem.

Zack Jackson

Initially conceived the idea of Module Federation and its successful mental model.

Tobias Koppers

Helped make Module Federation a first-class citizen of webpack.

The Nx Team & Colum Ferry

Seamlessly integrated webpack Module Federation into Nx, helping spread the word.

Angular CLI Team

Alan Agius, Charles Lyding, and the team for their work on the esbuild builder for Angular.

Florian Rappl

Contributed to early discussions around Module Federation and its evolution.

Michael Egger-Zikes

Contributed to Module Federation efforts and brought in valuable feedback.