React Native Web

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

Library
npm
v0.21.2
22,142stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
49/100Fair
Development Activity0
Maintenance20
Community76
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
75/100Good
Architecture80
Code Quality78
Innovation75
Learning Curve65

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 18 apps in this directory

TypeScript
95%
Apache 2.0

AionUi

AI Agents · Productivity

32,102

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
88
Repo Health
76
Technical
66
Dependency
Built with
TypeScript95%
Updated today
Rust
67%
MIT

Bun

Developer Tools

95,452

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
66
Dependency
Built with
Rust67%
C++19%
Updated today
TypeScript
55%
Other

Cap

Team Chat · Video Conferencing

20,986

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
65
Dependency
Built with
TypeScript55%
Rust40%
Updated yesterday
TypeScript
45%
Other

Convex Backend

Developer Tools · Databases

12,394

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
88
Repo Health
82
Technical
70
Dependency
Built with
TypeScript45%
Rust43%
Updated today
TypeScript
71%
Other

highlight.io

Developer Tools · Analytics · Monitoring

9,367

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
69
Repo Health
78
Technical
66
Dependency
Built with
TypeScript71%
Go16%
Updated yesterday
TypeScript
76%
Other

Joplin

Note Taking

56,003

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
62
Dependency
Built with
TypeScript76%
JavaScript15%
Updated yesterday
TypeScript
99%
AGPL 3.0

Karakeep

Bookmarks Archiving

28,454

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
67
Dependency
Built with
TypeScript99%
Updated 3 days ago
TypeScript
93%
AGPL 3.0

Linkwarden

Bookmarks Archiving · Knowledge Management

19,527

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

View details
90
Repo Health
72
Technical
66
Dependency
Built with
TypeScript93%
Updated today
Go
54%
Other

Multica

AI Assistants · AI Development

46,769

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

View details
86
Repo Health
83
Technical
70
Dependency
Built with
Go54%
TypeScript41%
Updated today

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

Search