Repolode
necolas

necolas/react-native-web

React Native for Web: a library that lets React Native components and APIs render in web browsers through React DOM.

Stars
22,151
Forks
1,833
Open issues
132
Last commit
15 hours ago

What is it?

React Native for Web brings React Native components and APIs to the browser, so the same UI code can target iOS, Android and the web. It maps React Native primitives such as View and Text onto React DOM elements, and provides web implementations of React Native APIs.

The project is published as the react-native-web package. This repository is the development monorepo that holds it, along with its build, dev and test scripts, GitHub Actions workflows and issue templates. Contributions are handled through a contributing guide, and a list of good first issues is available for newcomers.

Key features

  • 01Renders React Native components such as View and Text in the browser via React DOM.
  • 02Provides web implementations of React Native APIs.
  • 03Lets one codebase target iOS, Android and the web.
  • 04Managed as a monorepo with build, dev and test commands per package.

Use cases

  • Sharing UI components between a React Native mobile app and a React web app.
  • Adding a web version to an existing React Native project.
  • Building cross-platform design systems that run on native and web.

Quick start

  1. 1

    Run the dev script for all packages

    npm run dev
  2. 2

    Run the build script for all packages

    npm run build
  3. 3

    Run the tests for all packages

    npm run test

Things to know

  • The README covers only monorepo development tasks and gives no installation or usage instructions for end users.

Topics

FAQ

What is react-native-web?
React Native for Web: a library that lets React Native components and APIs render in web browsers through React DOM. React Native for Web brings React Native components and APIs to the browser, so the same UI code can target iOS, Android and the web. It maps React Native primitives such as View and Text onto React DOM elements, and provides web implementations of React Native APIs.
Is react-native-web free to use? What license does it have?
react-native-web is open source under the MIT license. Check the license terms before using it in commercial products.
Is react-native-web still maintained?
Actively maintained. The last commit to react-native-web was on Oct 20, 2026.
What can I use react-native-web for?
Sharing UI components between a React Native mobile app and a React web app. Adding a web version to an existing React Native project. Building cross-platform design systems that run on native and web.
How do I install react-native-web?
Run the dev script for all packages: npm run dev Run the build script for all packages: npm run build Run the tests for all packages: npm run test
Where can I get react-native-web?
The source code and installation instructions are on GitHub: https://github.com/necolas/react-native-web

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects