Best jQuery alternatives in 2026.

Zero-build HTML enhancers and lightweight libraries replacing legacy DOM scripts.

Verified jQuery (Legacy) alternatives.

GitHub stars, npm adoption, and runtime tiers verified on 2026-11-16.

Alternative Latest Stars npm weekly Runtime tier Why teams switch
Alpine.js 3.17.5 32,021 931.1K Tiny (~15 KB min+gz, zero build step) Declarative reactivity via HTML attributes with no build step.
htmx 2.0.11 49,644 456.0K Tiny (~14 KB min+gz, zero build step) AJAX HTML updates via hx-get and hx-post without manual DOM code.
Preact 11.2.0 39,008 59.0M Tiny (~4 KB min+gz) 4 KB component library when state outgrows inline DOM manipulation.
Vue 3.5.45 55,029 25.2M Small-Medium (~22 KB min+gz) Easy progressive drop-in for legacy server apps via CDN or Vite.
Lit 3.3.3 21,896 9.8M Tiny (~5 KB min+gz) Standards-based Custom Elements for reusable cross-page widgets.

Migration steps.

Test one route or widget before committing a full rewrite.

Start with free starters

Copy minimal Vite or Astro templates from this repository and benchmark bundle size against your existing app.

Compare identical app logic

Review our 5-framework Sprint Task Tracker examples to check real state and template ergonomics before migrating.

Filter by workload

Rank all 15 frameworks for your constraints using the interactive selector or CLI.

node src/advisor.ts --use-case saas-dashboard --seo-critical

Related comparisons.

Explore neighboring frameworks or jump back to the interactive selector.

What is the easiest drop-in replacement for jQuery without a build step?

Native browser DOM APIs cover most selectors and fetch calls; for declarative state and AJAX partials without Webpack or Vite, pair Alpine.js and htmx.