Dear ReGui is a retained dear ImGui library remake designed to be used on Roblox! This is perfect for beginners and performance.
Documentation: https://depso.gitbook.io/regui
- For suggestions or questions, please visit the discussions page
- If you would like to fork this, please read the Forking section
- Technical documentation and addional infomation such as commonly asked questions can be found on the Gitbook documentation
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/src/Demo%20window.lua
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 section for more details
Once you have installed ReGUI into your project, it can be used by any client script anywhere!
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})

![]() |
![]() |
Advanced customization example
![]() |
Demo window
![]() |
If you would like to create a fork of ReGui, please read the steps below
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