React Native Web

Cross-platform React UI components that render React Native's API on the web

Library
npm
v0.21.3
22,138 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
74 /100 Good
Development Activity 72
Maintenance 48
Community 76
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
75 /100 Good
Architecture 80
Code Quality 78
Innovation 75
Learning Curve 65

React Native Web is a compatibility layer that implements React Native’s component and API surface (View, Text, StyleSheet, Animated, and more) on top of the DOM, so a single React codebase can target iOS, Android, and web from the same components. It underpins cross-platform frameworks like Expo’s web target and Next.js integrations that want native-and-web parity from one component tree.

Rather than being a UI kit of its own, it re-implements React Native’s primitives using CSS and DOM APIs, translating things like Flexbox layout, gesture responders, and accessibility props into their web equivalents so existing React Native screens can run largely unmodified in a browser.

What You Get

  • Web implementations of core React Native components (View, Text, Image, ScrollView, TextInput, etc.) backed by DOM elements
  • StyleSheet and Flexbox layout translated to CSS, including RTL support
  • Animated and PanResponder APIs implemented on top of CSS transitions/transforms and pointer events
  • Accessibility props (accessibilityRole, accessibilityState) mapped to appropriate ARIA attributes
  • A Babel plugin for optimizing React Native Web output in production builds
  • Interop with Expo’s web target and other React Native + web toolchains

Common Use Cases

  • Shipping a marketing site or admin dashboard that reuses component code from an existing React Native mobile app
  • Building a single Expo/React Native codebase that targets iOS, Android, and web simultaneously
  • Migrating a React Native app to also support desktop browsers without duplicating UI logic
  • Testing React Native component logic quickly in a browser/DOM environment during development

Under The Hood

Architecture — The repo is an npm-workspaces monorepo under packages/, with react-native-web as the core published package alongside babel-plugin-react-native-web (compile-time optimizations), dom-event-testing-library, and docs/example/benchmark packages. The core package’s src/ is organized into exports/ (one folder per public component/API — View, Text, StyleSheet, Animated, etc.) and modules/ (internal implementation helpers), with src/index.js as the single public entry point re-exporting everything under the react-native API surface. Tech Stack — Plain JavaScript with Flow type annotations (not TypeScript), built via Babel (build:commonjs/build:es dual CJS+ESM output), tested with Jest across unit:dom and unit:node configs, and using @react-native/normalize-colors, fbjs, and inline-style-prefixer as runtime dependencies for CSS compatibility. Code Quality — Each exported module has a colocated __tests__ directory (47+ test files across the package), consistent naming that mirrors upstream React Native’s own module names, and Flow types generated at build time (build:flow); however GitHub activity shows the project has slowed markedly (0 commits/month recently, last push in October 2025), so newer React Native API surface may lag behind. API Design — The library’s explicit goal is API parity with React Native itself, so existing React Native code can often import from react-native-web (or via bundler aliasing) with no changes, which is its main developer-experience win; the tradeoff is that web-idiomatic patterns (native CSS, native form elements) are traded for React Native’s abstraction, which can feel like a layer of indirection for web-only teams.

Used by 19 apps in this directory

TypeScript
95%
Apache 2.0

AionUi

AI Agents · Productivity

33,179

Free, open-source Cowork desktop app that unifies Claude Code, Codex, Gemini CLI, and 20+ AI agents into a single platform with multi-agent teams, 24/7 cron automation, and zero-config built-in agent.

View details
85
Repo Health
76
Technical
66
Dependency
Built with
TypeScript 95%
Updated 3 weeks ago
Rust
67%
MIT

Bun

Developer Tools

96,068

An all-in-one JavaScript and TypeScript toolkit — one Rust-and-JavaScriptCore binary that replaces Node.js, npm, a bundler, and a test runner with faster equivalents.

View details
92
Repo Health
91
Technical
64
Dependency
Built with
Rust 67%
C++ 19%
TypeScript 10%
Updated 5 days ago
Rust
54%
Other

Cap

Team Chat · Video Conferencing

22,884

Open source Loom alternative with GPU-accelerated recording, instant share links, AI summaries, and full self-hosting via Docker Compose.

View details
89
Repo Health
81
Technical
64
Dependency
Built with
Rust 54%
TypeScript 42%
Updated 4 days ago
TypeScript
45%
Other

Convex Backend

Databases · Developer Tools

12,617

Open-source reactive database that lets developers build live-updating apps with pure TypeScript, strong consistency, and real-time subscriptions—no separate API layer required.

View details
87
Repo Health
82
Technical
68
Dependency
Built with
TypeScript 45%
Rust 43%
Updated 6 days ago
TypeScript
71%
Other

highlight.io

Analytics · Developer Tools · Monitoring

9,378

Open-source full-stack monitoring that unifies session replay, error tracking, logging, and distributed tracing so you can stop context-switching between tools.

View details
67
Repo Health
78
Technical
65
Dependency
Built with
TypeScript 71%
Go 16%
Updated 1 months ago
TypeScript
77%
Other

Joplin

Note Taking

56,513

The privacy-first, open-source note-taking app with end-to-end encrypted sync, AI assistance, and a powerful plugin ecosystem across every platform.

View details
93
Repo Health
87
Technical
60
Dependency
Built with
TypeScript 77%
JavaScript 14%
Updated 5 days ago
TypeScript
98%
AGPL 3.0

Karakeep

Bookmarks Archiving

29,321

Self-hosted bookmark manager that captures links, notes, images, and PDFs with AI tagging, full-text search, and automatic archiving.

View details
88
Repo Health
76
Technical
66
Dependency
Built with
TypeScript 98%
Updated 5 days ago
TypeScript
93%
AGPL 3.0

Linkwarden

Bookmarks Archiving · Knowledge Management

19,855

Self-hosted collaborative bookmark manager that captures full-page archives, enables annotation, and keeps your knowledge accessible forever.

View details
87
Repo Health
72
Technical
66
Dependency
Built with
TypeScript 93%
Updated 3 weeks ago
Go
56%
Other

Multica

AI Assistants · AI Development

51,481

Turn coding agents into real teammates — assign issues, track progress, and compound reusable skills across a vendor-neutral, self-hosted platform.

View details
87
Repo Health
83
Technical
67
Dependency
Built with
Go 56%
TypeScript 38%
Updated 5 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers