https://github.com/depthso/dear-regui
🖼 A retained recreation of ImGui for Roblox that doesn't need a Renderstep connection like Iris
https://github.com/depthso/dear-regui
gui imgui imgui-menu lua luau roblox roblox-gui roblox-lib roblox-library roblox-script roblox-scripts roblox-ui roblox-ui-lib ui-library
Last synced: 6 months ago
JSON representation
🖼 A retained recreation of ImGui for Roblox that doesn't need a Renderstep connection like Iris
- Host: GitHub
- URL: https://github.com/depthso/dear-regui
- Owner: depthso
- License: mit
- Created: 2024-07-25T11:59:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T16:09:56.000Z (7 months ago)
- Last Synced: 2025-04-03T01:13:28.581Z (6 months ago)
- Topics: gui, imgui, imgui-menu, lua, luau, roblox, roblox-gui, roblox-lib, roblox-library, roblox-script, roblox-scripts, roblox-ui, roblox-ui-lib, ui-library
- Language: Luau
- Homepage: https://depso.gitbook.io/regui
- Size: 725 KB
- Stars: 69
- Watchers: 6
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dear ReGui
Dear ReGui is a retained dear ImGui library remake designed to be used on Roblox!
This is perfect for beginners and performance.Demo place: https://www.roblox.com/games/136436665525145/ReGui-Demo \
Documentation: https://depso.gitbook.io/regui## Notices
- ReGui will have bugs, please report any bugs by opening an issue on Github
- For suggestions or questions, please visit the [discussions page](https://github.com/depthso/Dear-ReGui/discussions)
- If you would like to fork this, please read the [Forking](#forking) section
- Technical documentation and addional infomation such as commonly asked questions can be found on the [Gitbook documentation](https://depso.gitbook.io/regui)## Demo
The best way to learn ReGUI is to look through the Demo window which comes bundled with ReGUI.
The demo window is updated every significant update such as an addition of an element or a flag has been renamed.https://github.com/depthso/Dear-ReGui/blob/main/Demo%20window.lua
## Usage
ReGui can be used on any GUI type you want such as CoreGui, PlayerGui, BillboardGui, PluginGui, and SurfaceGui.
Installation is as simple as importing the rbxm model into your project and connecting a client script to begin using it!ReGui requires prefabs as it does not generate the base elments required for many elements such as the Window.
See the [Getting Started - Installing](https://depso.gitbook.io/regui/getting-started/installing) section for more details
Once you have installed ReGUI into your project, it can be used by any client script anywhere!
```lua
local Window = ReGui:Window({
Title = "Hello world!",
Size = UDim2.fromOffset(300, 200)
})Window:Label({Text="Hello, world!"})
Window:Button({
Text = "Save",
Callback = function()
MySaveFunction()
end,
})
Window:InputText({Label="string"})
Window:SliderFloat({Label = "float", Minimum = 0.0, Maximum = 1.0})
```
## Gallery
![]()
![]()
Advanced customization example
![]()
Demo window
![]()
## Forking
If you would like to create a fork of ReGui, please read the steps below### Custom module
If you are going to edit the module and publish it, please create a copy of the [Prefabs](https://create.roblox.com/store/asset/71968920594655)
as the module will quickly become outdated and cause issues with the Prefabs. Currently you only need to download a copy of the `main.lua` file### Custom Prefabs
Using custom prefabs with ReGUI is very simple.
To use custom prefabs you can point the library's `Prefabs` to the custom prefabs in the `:Init` call. For externally using custom prefabs, replace `rbxassetid://{ReGui.PrefabsId}` with `rbxassetid://PrefabsID` and replace `PrefabsID` with the id of your custom prefabs that you have published on Roblox.ReGui prefabs asset: [Prefabs Gui - Roblox](https://create.roblox.com/store/asset/71968920594655)
#
![]()
Dear ReGui, a retained dear ImGui library remake for Roblox developed by depso