Skip to content

ReactorUMG is a helper plugin for Unreal Engine that lets you build UMG game UI and editor UI using React.

License

Notifications You must be signed in to change notification settings

Caleb196x/ReactorUMG

Repository files navigation

ReactorUMG

Liscense Coverage Unreal Engine React Docs npm version Status

Cover

ReactorUMG helps you build UMG game UI and editor UI in Unreal Engine using React. The plugin is built on PuertTS scripting and pairs with AI assistance so you can develop and iterate UI efficiently with a web-style workflow. It is especially suited to using AI to quickly build a variety of in-editor UI tools.

Keywords: Unreal Engine, UE5, UMG, UI, Slate, React, TypeScript, Plugin, Hot Reload, Live Preview, Puerts


12.29.mp4

⚠️ Alpha stage: The API and structure may still change; an official version will be released once stabilized. Given that in-game UIs typically have high visual and interactive complexity, the current version of the plugin still has limitations in adaptation completeness and cannot fully meet the presentation requirements of production-level game UIs. Therefore, at this stage, we strongly recommend prioritizing its application to UI development for editor extension tools, to improve tool development efficiency.

⚠️ Before you start: Please read the FAQ first to avoid known pitfalls.


跳转到中文

Contents


Why use ReactorUMG

UMG is powerful, but it lacks a text-first, programmable front-end ecosystem, making it hard to plug into AI and front-end engineering practices (componentization, hot reload, static checks, automated testing, etc.). That slows teams who need quick iteration. To solve this, we built the ReactorUMG plugin. ReactorUMG lets you use native React + TypeScript + AI to quickly build game UI or editor UI. It is WYSIWYG, supports live preview and hot reload while editing, and connects modern web front-end practices to game UI development.


Core Features

  • Native React experience: Supports React Hooks, function/class components, TSX syntax, React container layouts, React native components, and UMG components.
  • Scriptable interaction: Use PuerTS to call engine and editor scripting interfaces as a Blueprint substitute.
  • AI-assisted development: Use AI Coding to quickly build editor tool panels, runtime UI, and reusable component libraries.
  • Live preview: Hot-reload validation and in-editor live preview to verify layout and interaction quickly.
  • Comprehensive examples: Samples and templates from beginner to advanced.
  • Animation: Import Spine animations.

Development System Requirements

  • Unreal Engine 5.x
  • Node.js >= 18 and Yarn / PNPM / NPM (choose one)
  • VSCode / Cursor
  • Windows 10/11

Install and Quick Start

Minimal Setup

  • Download the plugin and place it in the project's Plugins directory;
  • Run the initialization script Plugins/ReactorUMG/Tools/setup_win.bat;
  • Launch the project, create a ReactorUMG->EditorUtilityWidget asset, and write UI scripts under <ProjectDir>/TypeScript/<ProjectName>/Editor/<AssetName>.

YouTube

See the docs: https://caleb196x.github.io/ReactorUMGOnlineDoc/quickstart/


Runtime UI Supported Platforms

  • Windows, Android, Linux

FAQ

Q: What is the relationship with native UMG/Slate? A: ReactorUMG is designed for teams that "build UI with React" and complements UMG/Slate; it still relies on UE's UI rendering system and script bridging at the low level.

Q: How to perform a full compilation of the TypeScript project? A: Execute yarn build in the TypeScript directory.

Q: The UI interface cannot run after packaging. A: Check if the Additional Non-Asset Directories to Package setting includes the JavaScript directory.

Q: How to update the puerts index files under types/ue? A: Execute ReactorUMG.GenDTS in the Editor's Console Command.


Roadmap

  • Support basic native React components and basic CSS styles
  • Design a ReactorUMG-centered component library to support complex game UI, improving runtime efficiency and stability
  • Support Tailwind CSS
  • Support UI animation
  • ...

Want something not listed? Submit a request in Issues.


Contribution Guide

We welcome all kinds of contributions: bug reports, docs updates, feature proposals, and PRs.

  1. Fork the repo and create a branch: feat/your-feature or fix/your-bug
  2. Run local examples to validate changes
  3. Submit a PR with a brief summary of motivation, scope, and testing

See CONTRIBUTING.md for submission flow, coding standards, and commit message conventions.


License

This project uses the MIT License. See LICENSE for details.


Links and Resources


If this project helps you, feel free to Star, share, and tell us your use cases and needs!

About

ReactorUMG is a helper plugin for Unreal Engine that lets you build UMG game UI and editor UI using React.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published