# microsoft/react-native-windows architecture

> Architecture diagram of the GitHub repository microsoft/react-native-windows, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoft/react-native-windows
- Repository: https://github.com/microsoft/react-native-windows

## Overview

React Native for Windows lets developers build JavaScript/React applications for Windows devices, using Windows-specific platform APIs and native rendering. The main runtime path is application code through platform components and UI management to native Windows views; the repository also contains Paper and Fabric renderer implementations, native modules, and developer support. The README documents these capabilities, while sampled source directly shows Fabric surface/mount handling and development-server requests. Other subsystem links are left unasserted where the excerpts do not establish their callers.

Main entry points: [`vnext/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp`](https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp) (Fabric UI manager), [`packages/@office-iss/react-native-win32/src-win/index.win32.js`](https://github.com/microsoft/react-native-windows/blob/main/packages/%40office-iss/react-native-win32/src-win/index.win32.js) (Windows runtime entry), [`packages/@office-iss/react-native-win32/src-win/Libraries`](https://github.com/microsoft/react-native-windows/tree/main/packages/%40office-iss/react-native-win32/src-win/Libraries) (Windows JS APIs), [`packages/@office-iss/react-native-win32/src-win/Libraries/ReactNative/PaperUIManager.win32.js`](https://github.com/microsoft/react-native-windows/blob/main/packages/%40office-iss/react-native-win32/src-win/Libraries/ReactNative/PaperUIManager.win32.js) (Paper UI manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platform["Windows platform layer"]
  node_js_api["Windows JS APIs"]
  node_entry["Windows runtime entry<br/>[index.win32.js]"]
end

subgraph group_render["Rendering systems"]
  node_paper_js["Paper UI manager"]
  node_fabric_manager["Fabric UI manager"]
  node_paper_native["Paper native renderer"]
end

subgraph group_native["Native capabilities"]
  node_native_components["Native components"]
  node_animated_nodes["Animated nodes"]
  node_image_manager["Image manager"]
end

subgraph group_dev["Developer support"]
  node_dev_support["Dev support"]
  node_cli["Windows CLI<br/>[runWindows.ts]"]
end

node_developer(("App developer"))
node_windows_sdk["Windows devices"]
node_dev_server["Metro / dev server"]

node_developer -->|"builds with"| node_js_api
node_js_api -->|"runs through"| node_entry
node_entry -.->|"uses Paper"| node_paper_js
node_entry -.->|"uses Fabric"| node_fabric_manager
node_paper_js -.->|"manages UI"| node_paper_native
node_fabric_manager -.->|"mounts views"| node_windows_sdk
node_fabric_manager -.->|"mounts components"| node_native_components
node_fabric_manager -.->|"supports animation"| node_animated_nodes
node_fabric_manager -.->|"loads images"| node_image_manager
node_paper_native -.->|"renders on"| node_windows_sdk
node_developer -.->|"runs app"| node_cli
node_dev_support -->|"requests bundles"| node_dev_server

click node_js_api "https://github.com/microsoft/react-native-windows/tree/main/packages/%40office-iss/react-native-win32/src-win/Libraries"
click node_entry "https://github.com/microsoft/react-native-windows/blob/main/packages/%40office-iss/react-native-win32/src-win/index.win32.js"
click node_paper_js "https://github.com/microsoft/react-native-windows/blob/main/packages/%40office-iss/react-native-win32/src-win/Libraries/ReactNative/PaperUIManager.win32.js"
click node_fabric_manager "https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp"
click node_paper_native "https://github.com/microsoft/react-native-windows/blob/main/vnext/src-win/Libraries/ReactNative/PaperUIManager.windows.js"
click node_native_components "https://github.com/microsoft/react-native-windows/tree/main/packages/%40office-iss/react-native-win32/src-win/Libraries/Components"
click node_animated_nodes "https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.cpp"
click node_image_manager "https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Fabric/Composition/UriImageManager.cpp"
click node_dev_support "https://github.com/microsoft/react-native-windows/blob/main/vnext/Shared/DevSupportManager.cpp"
click node_cli "https://github.com/microsoft/react-native-windows/blob/main/packages/%40react-native-windows/cli/src/commands/runWindows/runWindows.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_js_api,node_entry toneBlue
class node_paper_js,node_fabric_manager,node_paper_native toneAmber
class node_native_components,node_animated_nodes,node_image_manager,node_dev_server toneMint
class node_dev_support,node_cli toneRose
class node_developer,node_windows_sdk toneIndigo
```

## Components

### Windows platform layer

- [Windows JS APIs](https://github.com/microsoft/react-native-windows/tree/main/packages/%40office-iss/react-native-win32/src-win/Libraries): `packages/@office-iss/react-native-win32/src-win/Libraries`
- [Windows runtime entry](https://github.com/microsoft/react-native-windows/blob/main/packages/%40office-iss/react-native-win32/src-win/index.win32.js): `packages/@office-iss/react-native-win32/src-win/index.win32.js`

### Rendering systems

- [Paper UI manager](https://github.com/microsoft/react-native-windows/blob/main/packages/%40office-iss/react-native-win32/src-win/Libraries/ReactNative/PaperUIManager.win32.js): `packages/@office-iss/react-native-win32/src-win/Libraries/ReactNative/PaperUIManager.win32.js`
- [Fabric UI manager](https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp): `vnext/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp`
- [Paper native renderer](https://github.com/microsoft/react-native-windows/blob/main/vnext/src-win/Libraries/ReactNative/PaperUIManager.windows.js): `vnext/src-win/Libraries/ReactNative/PaperUIManager.windows.js`

### Native capabilities

- [Native components](https://github.com/microsoft/react-native-windows/tree/main/packages/%40office-iss/react-native-win32/src-win/Libraries/Components): `packages/@office-iss/react-native-win32/src-win/Libraries/Components`
- [Animated nodes](https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.cpp): `vnext/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.cpp`
- [Image manager](https://github.com/microsoft/react-native-windows/blob/main/vnext/Microsoft.ReactNative/Fabric/Composition/UriImageManager.cpp): `vnext/Microsoft.ReactNative/Fabric/Composition/UriImageManager.cpp`

### Developer support

- [Dev support](https://github.com/microsoft/react-native-windows/blob/main/vnext/Shared/DevSupportManager.cpp): `vnext/Shared/DevSupportManager.cpp`
- [Windows CLI](https://github.com/microsoft/react-native-windows/blob/main/packages/%40react-native-windows/cli/src/commands/runWindows/runWindows.ts): `packages/@react-native-windows/cli/src/commands/runWindows/runWindows.ts`

### Other components

- **App developer**
- **Windows devices**
- **Metro / dev server**

## Connections

- App developer → Windows JS APIs: builds with (evidence: `README.md`)
- Windows JS APIs → Windows runtime entry: runs through (evidence: `README.md`)
- Windows runtime entry → Paper UI manager: uses Paper
- Windows runtime entry → Fabric UI manager: uses Fabric (evidence: `README.md`)
- Paper UI manager → Paper native renderer: manages UI
- Fabric UI manager → Windows devices: mounts views (evidence: `README.md`)
- Fabric UI manager → Native components: mounts components
- Fabric UI manager → Animated nodes: supports animation
- Fabric UI manager → Image manager: loads images
- Paper native renderer → Windows devices: renders on (evidence: `README.md`)
- App developer → Windows CLI: runs app
- Dev support → Metro / dev server: requests bundles (evidence: `vnext/Shared/DevSupportManager.cpp`)
