Preact

A tiny (~3 kB) React-compatible UI library with the same modern API and an optional compatibility layer.

Preact implements the React component and hooks API in a fraction of the size, making it suited to performance budgets and embedded widgets. The preact/compat layer lets many React libraries run unchanged. It also offers Preact Signals for fine-grained state.

Type
UI library
Category
Web
Maintainer
Preact team (Jason Miller)
First released
2015
License
Open source (MIT)
Pricing
Open source
Level
Intermediate
Technologies
preact, javascript, jsx
GitHub stars
39,041
Weekly downloads
62,431,316 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What Preact is used for

  • Lightweight SPAs
  • Embeddable widgets
  • Islands in static sites

Strengths

  • Very small footprint
  • React-compatible API
  • Fast

Limitations

  • Compatibility gaps with some React features
  • Smaller community

Preact alternatives

How it relates to other tools

  • Preact alternative to React

Built with the same technologies

Official links

Sources

Explore