single-spa is a JavaScript framework for composing micro frontends on one page. Teams can mix frameworks and load applications lazily without a full rewrite.
Overview
single-spa coordinates multiple client applications that share a single page. Each app may use its own framework, and the router loads code only when an application is needed, which can shorten initial load times.
Typical goals include adding new UI in a new stack beside legacy code, running React, Angular, Vue, or other libraries together without full page reloads, and splitting ownership by feature area.
Documentation, demos, and examples are published for adopters. Development and ecosystem work happen in public on GitHub, with a published code of conduct and contribution guide.
Hosting and training offerings are available for organizations that want commercial support around the core library.
Key features
- Multi-framework single-page composition
- Lazy-loaded micro applications
- Framework-agnostic routing
- Coexisting legacy and new UI
- Documented getting-started path
- Public examples and demos
- Ecosystem packages
- Community Slack workspace
Use cases
- Incremental frontend modernization
- Splitting monolith UI by team
- Mixing React and Angular routes
- Deferring heavy app bundles
- Independent deployable UI modules