Run it
Copy the script and paste it into your executor.
local NotionUI = loadstring(game:HttpGet(
"https://raw.githubusercontent.com/okdude42/notionui-lib/main/NotionUI.lua"
))()
local Window = NotionUI.new({
Title = "NotionUI",
Subtitle = "ready",
Width = 560,
Height = 350,
Loading = true,
LoadingDuration = 2.35,
SaveSettings = true,
Settings = false,
ToggleKey = Enum.KeyCode.RightShift,
})
local MainTab = Window:AddTab("Main")
local MainSection = MainTab:AddSection("NotionUI")
MainSection:AddLabel("NotionUI is a minimalistic UI lib with beautiful animations")
MainSection:({
Name = ,
Default = ,
Callback = (Value)
Window:(, (Value))
,
})
MainSection:({
Name = ,
Min = ,
Max = ,
Default = ,
Decimals = ,
DragStep = ,
Smoothing = ,
Callback = (Value)
Window:( .. (Value))
,
})
MainSection:({
Name = ,
Callback = ()
Window:({
Title = ,
Default = Window.Theme.Accent,
Callback = (Color)
Window:(Color, )
,
})
,
})
MainSection:({
Name = ,
Callback = ()
Window:(, )
,
})
MainSection:({
Name = ,
Callback = ()
Window:({
Title = ,
Text = ,
})
,
})
Window:()
MainTab:()
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
clean UI thats now a UI lib Basic Usage local Window = NotionUI.new({ Title = "My Script", Subtitle = "ready", Width = 560, Height = 350, }) local Main = Window:AddTab("Main") local Section = Main:AddSection("General") Section:AddLabel("Hello from NotionUI") Section:AddButton({ Name = "Button", Callback = function() print("Pressed") end, }) Main:Select() For every window option, theme value, component, callback and returned method, see Documentation.md. https://github.com/okdude42/notionui-lib/tree/main

Universal