
React Native for Web
Runs React Native UI components in the browser, using React DOM.necolas/react-native-web
- Stars
- 22.2k
- Forks
- 1.8k
- Licence
- MIT
- Language
- JavaScript
- Last update
- 4 days ago
- Type
- Library
What it is
This project is the development monorepo for React Native for Web, a set of packages that let React Native style components run on the web. The README shown here mainly describes how the repository is organized and how to build, develop, and test its packages. It does not spell out the library's API or usage details in the excerpt provided.
- Build the react-native-web package with npm run build
- Run tests for all packages with npm run test
- Run the dev script for a single package with npm run dev -w <package-name>
Great for
- Developers who already use React Native and want the same components on the web
- Contributors who want to work on the react-native-web package itself
- Teams sharing UI code between a mobile app and a web app
Not ideal for
- People who only build websites and have no React Native code, since the library targets shared React Native UI
- Users looking for an end-user app, because this is a developer library and monorepo
How to get it
- 1
Clone and build from source
You'll need: Node.js · npm
Clone the repository
git clone https://github.com/necolas/react-native-webBuild all packages
npm run build - 2
Run it
- Clone the repository and install dependencies with npm.
- Run npm run build to build every package.
- Run npm run test to run the test suite.
- See the contributing guide for the full development process.
- 3
Get the most out of it
- Use npm run build -w <package-name> to build a single package
- Use npm run dev -w <package-name> to work on one package at a time
- Read the contributing guide to learn how to propose and test changes
Downloads
Strengths
- MIT licensed, so it is free to use and modify
- Has a large community, with over 22,000 stars on GitHub
- Includes a contributing guide and a list of good first issues for newcomers
Trade-offs
- The README excerpt is mostly about contributing, so usage details are thin here
- Setup for end users is not described in the provided text
- Description and topics suggest broad scope, but the README does not show examples
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| react-native-web (this) | 22.2k | Library | intermediate | 4 days ago | Developers who already use React Native and want the same components on the web |
| tamagui | 14.3k | Library | intermediate | 4 days ago | Teams building the same app for web and native with React |
| react-native-elements | 25.9k | Library | intermediate | 6 months ago | React Native developers who want ready-made UI components |
| react-native-ui-kitten | 10.7k | Library | intermediate | 1 months ago | React Native developers who want a complete set of standard UI controls |
| react-native | 127k | Framework | intermediate | 4 days ago | Web developers who already know React and want to build mobile apps |
| NativeBase | 20.4k | Library | intermediate | 9 months ago | Teams maintaining an existing app already built on NativeBase |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.