React Unity
Build declarative UIs in Unity using React. React Unity enables developers to create dynamic interfaces with React components, TypeScript support, CSS/Flexbox styling, and integration with popular libraries like Redux and React Router. Leverages TextMesh Pro for rendering.
com.reactunity.core 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/reactunity-core.git README Markdown
Copy this to your project's README.md
## Installation
Add **React Unity** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/reactunity-core.git
```
[](https://www.pkglnk.dev/pkg/reactunity-core)Dependencies (2)
README
React Unity
React Unity is a way to build declarative UI in Unity3D using React. It can be used together with packages like Typescript, redux, i18next, react-router and more. It also supports a subset of CSS features and Flexbox layout system.
Requirements
Node is only used while developing and not required in runtime or after the project is built. Following are the minimum recommended versions. Use latest stable versions when possible.
- Node 20
- Unity 2021.3
- TMPro v3
Installing
Install via OpenUPM (recommended)
npx openupm-cli add com.reactunity.core com.reactunity.quickjs
Or add using the package manager with the git URL
https://github.com/ReactUnity/core.git#latest
Usage
- Create a canvas and add
ReactRendererUGUIcomponent to it - Run
npx @reactunity/create@latestin your Unity project root to create a React project - Install all dependencies
npm intallfrom React project - Run
npm run startfrom React project - Click play in Unity
Visit the documentation on the main website to learn more.
Known Issues
- Low documentation coverage
Most of ReactUnity's features are not well documented yet. All questions, bug reports and requests are welcome. You can share them by opening issues or posting them in the Discord server.
No comments yet. Be the first!