Iris - Immediate Mode UI library, based on Dear ImGui

The ui no longer disappears on respawn, but now when I respawn my values are no longer updated.

Iris:Connect(function()
		Iris.Window({`{LocalPlayer.Name} Values`})
		Iris.Text({`Ragdolled: {Character:GetAttribute("Ragdolled")}`})
		Iris.Text({`Falling: {Character:GetAttribute("Falling")}`})
		Iris.Text({`Y Velocity: {Character:GetAttribute("YVelocity")}`})
		Iris.Text({`Y Distance: {Character:GetAttribute("YDistance")}`})
		Iris.End()
	end)
4 Likes

I mean by that logic any UI library is an exploit gui framework…

7 Likes

Docs for creating custom widgets are now available!

4 Likes

A very nice plugin! My only suggestion is to add a built in dropdown widget. It would be very useful!

2 Likes

not true at all. if you look at my post you can see i am quoting the part where he said you can use this in the coregui. if you had a brain you’d realize that developers cant access coregui and its only accessible via exploits. so by “that logic” he is full on saying it could be a valid exploit ui library. ¯_(ツ)_/¯

also the OP edited out coregui after i mentioned it which says enough in itself

3 Likes

Hi, this library is for drawing UI, and that’s all it does. Roblox CoreScripts currently use Roact (An open source UI library) in CoreGui; Its perfectly valid to have a UI library be operable with CoreGui; Besides, most are agnostic and already are.

4 Likes

Isn’t any UI library a “valid exploit UI library”? What makes it valid or not valid? They’re all Lua at the end of the day…

4 Likes

Used this Library to make a sophisticated and proprietary Admin Panel for my game with a Datastore Editor + Player Lookup and Commands + Playerlist. My Admins love it and I’m glad I came across this post.

Although I had to modify the source code quite a bit, it was really nice to work with.

Work on adding support for Dropdowns, Sliders and Images and this Library will be perfect.

17 Likes

This is a great module. Is it possible that we could expect a roblox-ts port of it soon?

2 Likes

Also, are there any plans to add the slider widget?

3 Likes

Hi! While i would love to port this to roblox-ts, I’m not familiar enough with roblox-ts to even begin working on that myself. Maybe in the distant future.

4 Likes

The admin panel looks great! thanks for showing it off.
I’m also planning on adding Sliders, Dropdowns and more widgets in v2 of the library, so stay tuned for that.

3 Likes

I never saw a such well made UI Library in my own life,
Your work is amazing, I’m impressed by how mush it is well made

Do you have any discord server so I can stay informed about future stuffs or any upcoming updates ?
That would be fire

3 Likes

Thank you! In the Roblox OSS Discord Server, there is a thread dedicated to this project where you can ask questions and see updates.

2 Likes

For some reason, Iris.Window does not even exist. Is this an oversight?

2 Likes

How is your code written? It should resemble something like this:

local Iris = require(path.to.iris).Init()

Iris:Connect(function()
   Iris.Window(...)
    --...
   Iris.End()
end)
2 Likes

That’s what I did, and the typing system gave me a warning that it did not exist.

1 Like

I think there should be correct typings for the module. I would make these, but I do not have a list of every type of function. I also think that you should not make it so that string arguments don’t need to be wrapped in tables and keep it as an option. It’s kind of bad for performance.

1 Like

I like the design, but are there ways to add images and view models? Since, you haven’t included it in the examples, I reckon no.

1 Like

Made a viewmodel previewer plugin for my game. Working with this UI library is nice! Thanks a lot for creating and sharing this.

29 Likes