# react-live

> A production-focused playground for live editing React code

Latest version **5.0.0** (published 2026-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-live
pnpm add react-live
yarn add react-live
bun add react-live
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2026-09-23 |
| First published | 2017-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 74.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4611 |
| Author | @FormidableLabs |
| Maintainers | sarmeyer, mariano-formidable, ryan.roemer, formidable-owner, formidablelabs, sarahformidable, ceceppa, hartzis, eastridge, thekenwheeler, bmathews, coopy, mhink, boygirl, tptee, exogen, chrisbolin, stefvhuynh, paulathevalley, carbonrobot, carlospaelinck, jpdriver, imranolas, ryanisinallofus, ebrillhart, andyrichardson, jason.wilson, michaelmerrill, kiraarghy, philpl, parkerziegler, samwhale, sofiapoh, jmcbee1, mfulgham |
| Keywords | react, live, live edit, component playground, react live |

## Links

- npm: https://www.npmjs.com/package/react-live
- Repository: https://github.com/FormidableLabs/react-live
- Homepage: https://github.com/FormidableLabs/react-live#readme
- Issues: https://github.com/FormidableLabs/react-live/issues
- npm.io page: https://npm.io/package/react-live

## Dependencies (3)

- [sucrase](https://npm.io/package/sucrase.md) ^3.35.1
- [use-editable](https://npm.io/package/use-editable.md) ^2.3.3
- [prism-react-renderer](https://npm.io/package/prism-react-renderer.md) ^2.4.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2026-09-23
- 4.1.8 — 2024-11-19
- 4.1.7 — 2024-06-25
- 4.1.6 — 2024-02-02
- 4.1.5 — 2023-09-19
- 4.1.4 — 2023-09-19
- 4.1.3 — 2023-06-13
- 4.1.2 — 2023-05-23
- 4.1.1 — 2023-05-13
- 4.1.0 — 2023-05-11
- 4.0.1 — 2023-05-01
- 4.0.0 — 2023-03-30
- 3.2.0 — 2023-03-23
- 3.1.2 — 2023-02-20
- 3.1.1 — 2022-05-30
- … 56 more at https://npm.io/package/react-live/versions

## README

<p align="center">
  <a href="https://commerce.nearform.com/open-source/" target="_blank">
    <img alt="React Live — Formidable, We build the modern web" src="https://oss.nearform.com/api/banner.svg?text=react+live" />
  </a>
</p>
<p align="center">
<strong>A flexible playground for live editing React code</strong>
<br><br>
<a href="https://npmjs.com/package/react-live"><img src="https://img.shields.io/npm/dm/react-live.svg"></a>
<a href="https://npmjs.com/package/react-live"><img src="https://img.shields.io/npm/v/react-live.svg"></a>
<img src="https://img.badgesize.io/https://unpkg.com/react-live/dist/index.mjs?label=size">
<img src="https://img.shields.io/badge/module%20formats-cjs%2C%20esm-green.svg">
<a href="https://github.com/FormidableLabs/react-live#maintenance-status">
  <img alt="Maintenance Status" src="https://img.shields.io/badge/maintenance-active-green.svg" />
</a>
</p>

**React Live** brings you the ability to render React components with editable source code and live preview.

The library is structured modularly and lets you style and compose its components freely.

<p align="center"><img src="https://user-images.githubusercontent.com/17658189/63181897-1d67d380-c049-11e9-9dd2-7da2a3a57f05.gif" width=500></p>

Come learn more at our [docs site](https://commerce.nearform.com/open-source/react-live)!

## Support

Have a question about react-live? Submit an issue in this repository using the
["Question" template](https://github.com/FormidableLabs/react-live/issues/new?template=question.md).

Notice something inaccurate or confusing? Feel free to [open an issue](https://github.com/FormidableLabs/react-live/issues/new/choose) or [make a pull request](https://github.com/FormidableLabs/react-live/pulls) to help improve the documentation for everyone!

The source for our docs site lives in this repo in the [`docs`](docs) folder.

## Contributing

Please see our [contributing guide](CONTRIBUTING.md).

---
_Source: https://npm.io/package/react-live · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
