If you came to this page you already know what Iris is since this is a fork of that repository. I suggest going back to that page if you need to look at the documentation or to find more information.
How to use in your own scripts:
local Iris = loadstring(game:HttpGet("https://raw.githubusercontent.com/Brycki404/Iris/refs/heads/main/loader.lua", true))()
-- This is how you would use Iris within the same script Iris was loaded in
-- Basic Iris Usage Example:
Iris:Connect(function()
Iris.Window({"My First Window!"})
Iris.Text({"Hello, World"})
Iris.Button({"Save"})
Iris.InputNum({"Input"})
Iris.End()
end)If you use a multiple script structure, you can just get the Iris library from the global variable it makes internally after loading it at least once in another script via the method above.
-- This is how you would use Iris within a different script from which Iris was loaded in
-- (it's the exact same as the exaple above, that's the whole point)
-- Basic Iris Usage Example:
Iris:Connect(function()
Iris.Window({"My First Window!"})
Iris.Text({"Hello, World"})
Iris.Button({"Save"})
Iris.InputNum({"Input"})
Iris.End()
end)