Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Preact

Fast 4 kB alternative to React with the same modern API.

Web frameworks npm MIT

Used in agent projects
10
0.2% of 4,818 JS/TS repos built with AI coding agents; 22 counting our dependency samples
Gid Score
67 /100
#348 of 3,794 tools, #11 in web frameworks · ranking
Rank in web frameworks
#36 of 71
by use in those projects
Downloads
23.2M
npm, last 7 days, preact
GitHub stars
38.9K
4,957 forks · last push Oct 20, 2026

How Preact is used

Preact is a dependency in 10 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 22 projects, and what it is used with below comes from all of them. The most used alternative in our scan is React (2,023 projects). Projects that use it most often also use TypeScript (90.9%), Preact Vite preset (36.4%), Preact Signals (27.3%).

Preact popularity over time

Top tools by Gid Score

Preact: downloads per weeknpm, preact 23,228,055
Preact: GitHub starspreactjs/preact 38,943

Gid Score 67: downloads 93, use in agent projects 29, GitHub stars 73, downloads trend 63 (each 0-100). How it is calculated.

Often used with Preact

TypeScript90.9% of Preact projects · 1.7× more than average
Preact Vite preset36.4% of Preact projects · 1128.7× more than average
Preact Signals27.3% of Preact projects · 846.5× more than average
Biome22.7% of Preact projects · 4.0× more than average
Astro22.7% of Preact projects · 12.2× more than average
Vite40.9% of Preact projects · 2.1× more than average
Tailwind CSS50.0% of Preact projects · 1.5× more than average
Testing Library27.3% of Preact projects · 2.7× more than average

From all 22 projects in our scan that use Preact, including the dependency samples.

By coding agent

GitHub Copilot0.2% of projects set up for it
Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list Preact as a dependency.

How Preact is funded

Most funded tools

Open Collective: Preact

Received, last 12 months$32,572 Oct 2025 – Sep 2026
Estimated annual budget$35,928 Open Collective's estimate
Balance$200,976
Raised since the start$303,627 · $102,651 paid out
Typical month median, last 12 months$2,654 · $2,928 over 24 months
Last 12 months vs the 12 before-8%
Contributors, last 12 months25

Top company backers all time, 48 companies in total

loveholidays$36,000 since Oct 2023
trivago$23,991 since Jan 2021
Adyen NV (Netherlands)$10,800 since Nov 2023
Webflow$6,500 since Oct 2017
Open Source Collective org (deprecated)$5,041 since Jul 2017

Oct 2021Sep 2026

Money by month, last five years. First money received in Nov 2016. The typical month is the median: one big one-off donation does not move it.

The same collective is named by 2 more tools in our catalog: Preact Vite preset, Preact Signals.

USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source

GitHub Sponsors

@preactjs13 current sponsors

GitHub shows how many people and companies sponsor an account, not how much they pay.

Ways to fund Preact

GitHub Sponsors Open Collective

As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.

Install

Packagenpm install preact
Main stacksTypeScript / JavaScript (18), Python (2), Next.js (1), React Native / Expo (1)
Example projectssteve228uk/metro-mcp, jerelvelarde/world-monitor-copilotkit, IchimaruGin728/Gins-Blog, BasePaint/basepaint-mini, realchandan/knowledge-chatbot

Alternatives to Preact

All web frameworks

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Preact are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
React npm
JavaScript library for building interactive user interfaces with components.
94 2,023 (42.0%) 116M 251K MIT

More in Web frameworks: Next.js next-themes React Router Vue Astro React Native Web Angular Svelte

Is Preact right for your project? Ask AgentGid →