GitHub

Best JavaScript front-end frameworks

UI frameworks and libraries for building web interfaces. react leads with about 250M real installs a week, followed by preact with about 56.3M.

packagereal installs / weeknpm / weeknoiselast releaseconfidence
1. reactReact is a JavaScript library for building user interfaces. 250M 250,126,673 under 1% Oct 2026 high
2. preactFast 4kb React-compatible Virtual DOM library. 56.3M 56,339,702 under 1% Nov 2026 high
3. vueThe progressive JavaScript framework for building modern web UI. 25M 24,977,684 under 1% Nov 2026 high
4. solid-jsA declarative JavaScript library for building user interfaces. 11.1M–11.2M 11,155,712 under 1% Oct 2026 high
5. litA library for building fast, lightweight web components 9.87M–9.88M 9,876,213 under 1% May 2026 high
6. svelteCybernetically enhanced web apps 9.34M–9.35M 9,347,187 under 1% Oct 2026 high
7. @angular/coreAngular - the core framework 8.34M–8.35M 8,347,920 under 1% Oct 2026 high
8. alpinejsThe rugged, minimal JavaScript framework 918K–920K 920,154 under 1% Oct 2026 high

Ranked by real installs. That measures use, not quality: read the notes below before choosing. Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count. Noise: the share of npm's count that mirror spikes and crawlers account for. What remains still includes CI and dependency installs. Rows are refreshed in rotation, the oldest here on Nov 6, 2026.

How do they differ?

React has the largest ecosystem. Vue and Svelte are built around single-file components. Angular ships as a complete framework, with routing, forms and dependency injection included. Preact offers a small React-compatible API, and Solid pairs JSX with fine-grained reactivity.

Check a package