Creating UI with SimpleAdmin

SimpleAdmin utilizes a proprietary interface kit that allows for easy UI creation. To get started, you must create a container. From there, you'll be able to add dropdowns, sliders, buttons, and more!

Creating a Container

Let's get started! First, let's create a ModuleScript and call it "Tutorial". Once you've done this, parent place it in SimpleAdmin -> Packages -> Client. It should look like this:

Great, now we can get to actually programming our interface! All SimpleAdmin packages should return a function to be ran by the system with the applied environment. We'll add UI = nil at the top just so that our linter doesn't go insane, but you don't need it in your code.

UI = nil

return function()
    local Container = UI.New("Test Container")
end
Test Container

As you can see, we do UI.New("Test Container") and keep that in our script as a variable. This will create a container named "Test Container" and we'll now be able to add elements to it.

Last updated

Was this helpful?