Guide

The Ui isnt Complicated At all :)

to initialize the library type

local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/trinyxScripts/nexus-ui/refs/heads/main/nexuslib.lua"))()

To make a Window just type

local main = Library:new{
	Name = "Custom Name",
	Style = "Bottom",
	Theme = "Dark"
	KeySystemConfig = {
		KeySystem = false,
		Key = "He",
		--Forgot To Add Get Key LOL i am adding it in the next 4. release
		KeyLink = "www.htlm",
		KeySystemText = {
			Text = "This Script Is in beta. Do not Use on nuclear testing facilities",
			Title = "READ DESCRIPTION",
		}
		
	},
}

⚠️Warning⚠️

Theme Settings are found in Themes

Do not forget to replace Name with your scripts Name

Now there are three new settings: The key System which can be found in Key System and the Style

The dock pos makes the dock be on top or on botton or Fixed. To change it do

Style = "Top"
Style = "Bottom"
Style  = "Fixed"
Style  = "Classic"

To make a Tab type

local Tab1 = main:CreateTab({Icon = "rbxassetid://83262328821985",Text = "Tab1"})

Replace the Icon to your desired icon. Now There is Lucide Icon Support https://github.com/latte-soft/lucide-roblox/tree/master/icons/compiled/48px

local Tab1 = main:CreateTab({Icon = "Settings",Text = "Tab1"})

To make a Button:

local btn = Tab:Button({
	Name = "Hi Button", 
	callback = function() print("Hi:)") end
})

To Update a Button

btn:SetCallBack(function()
	print("GoodBye:(")
end)

to update button Text

btn:SetText("Goodbye Button")

To make a label:

local label = Tab:Label({
	Name = "Label"
})

To update The Label:

label:SetText("Changed Label")

To make a Slider

local Slider = Tab:Slider({
         Name = "slider",
         min = 0,
         max = 100,
         Default = 50,
         callback = function(v)
              if v > 50 then
                     print(v)
                     end
              end
})

To Update The Slider Value

Slider:SetValue(10)

To Get The Silder's Value

Slider:GetValue()

To make a Toggle:

local tg = Tab:Toggle({
          Name = “I am a Toggle”,
          State = false,
          callback = function (v)
                  print(v)
          end
})

To update it

tg:UpdateToggle(true)

To make a DropDown

local dp = Tab:DropDown({
	Name = "DropDown1",
	callback = function(option) 
		print(option)
	end
})

To Add options to It

dp:Add("Bob", 1)

To Remove Option

dp:Remove("Bob")

To Clear All Options

dp:Clear()

To make a text input write this:

local txtInput = Tab1:TextInput({
	PlaceHolderText = "InputValueHere",
	Title = "Toilet",
	CallBack = function (v) print(v) end
})

To Update its Text Write this. Note it will also execute the callback of text input with the new text.

txtInput:SetText(Txt)

To make a Notification Write This

 Tab:Notification({
 Text = "MainText",
 Title = "Title",
 ActiveTime = 5
 })

To make a pop up write this

Tab:CreatePopUp({
			ButtonLeftText = "Yeah",
			ButtonRightText = "Nah",
			TitleText = "Confirm",
			Text = "Do you want to continue with the action?",
			callback = function()
				print("Action confirmed!")  -- This will print when "Yeah" is clicked
			end
	})

To make a Seperator type:

Tab:Seperator()

To make a KeyBind type

Tab:KeyBind({
	Title = "Key Bind",
	KeyBind = Enum.KeyCode.LeftControl,
	CallBack = function() 
		print("T")
	end
})

Last updated