ReactorUMG is a plugin for Unreal Engine that enables developers to build UMG game UI and editor UI using React. It benefits game developers and UI designers by streamlining UI development workflows. The plugin connects React's component-based architecture with Unreal Engine's UMG system, allowing for more efficient and maintainable UI code.
git clone https://github.com/Caleb196x/ReactorUMG.gitReactorUMG is a plugin for Unreal Engine that enables developers to build UMG game UI and editor UI using React. It benefits game developers and UI designers by streamlining UI development workflows. The plugin connects React's component-based architecture with Unreal Engine's UMG system, allowing for more efficient and maintainable UI code.
["Set up ReactorUMG in your Unreal Engine project by following the [official installation guide](https://github.com/ufna/ReactorUMG). Ensure your project is configured to use ReactorUMG’s build system for JSX/TypeScript support.","Create a new React component (e.g., `HealthBar.jsx`) in your project’s `Source/ReactorUMG` folder. Use ReactorUMG’s provided React components (e.g., `Text`, `ProgressBar`) for UI elements.","Expose the component to Unreal Engine by adding it to your UMG widget via the `UMG React Component` node in the UMG editor. Bind the component’s props to Unreal Engine variables or functions (e.g., `currentHealth` from a `PlayerState` class).","Test the component in-game by triggering health changes (e.g., damage events) and verifying that the UI updates in real-time. Use Unreal Engine’s console or debug tools to inspect ReactorUMG’s runtime behavior.","Optimize performance by minimizing re-renders (e.g., memoizing components) and using ReactorUMG’s built-in profiler to identify bottlenecks. For complex UIs, split components into smaller, reusable pieces."]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Caleb196x/ReactorUMGCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use ReactorUMG in Unreal Engine to [TASK]. For example: 'Create a dynamic health bar component in ReactorUMG that updates in real-time based on player health data. Ensure the component is reusable across different UI screens and supports localization.' Include [PLACEHOLDERS] for customization like [UI_LAYOUT], [DATA_SOURCE], or [PERFORMANCE_REQUIREMENTS].
Here’s a ReactorUMG implementation for a modular health bar that dynamically updates based on player health data. The component is written in React (JSX) and integrated into Unreal Engine’s UMG system via ReactorUMG. The health bar uses a reusable `HealthBar` component with props for `currentHealth`, `maxHealth`, and `colorScheme` (e.g., 'red', 'green', 'blue'). The data is sourced from a custom Unreal Engine `PlayerState` class that emits health updates via a delegate. The component also includes a localization-ready text label that adapts to the game’s language settings.
```jsx
// HealthBar.jsx
import React from 'react';
import { Text, ProgressBar } from '@reactorumg/react-components';
import { useLocalization } from '@reactorumg/localization';
const HealthBar = ({ currentHealth, maxHealth, colorScheme = 'red' }) => {
const { t } = useLocalization();
const percentage = Math.max(0, Math.min(100, (currentHealth / maxHealth) * 100));
return (
<div style={{ display: 'flex', flexDirection: 'column', gap: '8px' }}>
<Text id="health_label" style={{ color: colorScheme }}>
{t('Health')}: {currentHealth}/{maxHealth}
</Text>
<ProgressBar
value={percentage}
max={100}
style={{ width: '200px', height: '20px' }}
barStyle={{ backgroundColor: colorScheme }}
/>
</div>
);
};
export default HealthBar;
```
In Unreal Engine, the `HealthBar` component is exposed to UMG via ReactorUMG’s `UMG React Component` node. The `PlayerState` class broadcasts health updates to the React component using a custom event. The component is then placed in the game’s HUD widget, where it automatically updates when the player’s health changes. This approach reduces boilerplate code and makes the UI more maintainable, as the health bar logic is centralized in React while still leveraging Unreal Engine’s native systems for performance and integration.
To test this, load the game and verify that the health bar updates smoothly when taking damage or healing. Check the console for any ReactorUMG warnings or errors, and ensure the localization strings are correctly loaded from the game’s translation files.AI that performs conversations that connect
Write like a pro.
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan