WindUI

Window

Creating Window and Editing it

Creating Window

local Window = WindUI:CreateWindow({
    Title = "UI Title",
    Icon = "door-open",
    Author = "Example UI",
    Folder = "CloudHub",
    Size = UDim2.fromOffset(580, 460),
    Transparent = true,
    Theme = "Dark",
    SideBarWidth = 200,
    Background = "", -- rbxassetid only
    BackgroundImageTransparency = 0.42,
    HideSearchBar = true,
    ScrollBarEnabled = false,
    User = {
        Enabled = true,
        Anonymous = true,
        Callback = function()
            print("clicked")
        end,
    },
    KeySystem = { -- <- ↓ remove this all, if you dont neet the key system
        Key = { "1234", "5678" },
        Note = "Example Key System.",
        Thumbnail = {
            Image = "rbxassetid://",
            Title = "Thumbnail",
        },
        URL = "https://github.com/Footagesus/WindUI",
        SaveKey = true,
    },
})

Set Background Image

Window:SetBackgroundImage("rbxassetid://id-here")

Set Background Image Transparency

Window:SetBackgroundImageTransparency(value: number) -- from 0  to 1

Set Toggle Key

Window:SetToggleKey(Enum.KeyCode.H)

Set Transparency

Window:ToggleTransparency(true)

Edit OpenButton

Window:EditOpenButton({
    Title = "Open Example UI",
    Icon = "monitor",
    CornerRadius = UDim.new(0,16),
    StrokeThickness = 2,
    Color = ColorSequence.new( -- gradient
        Color3.fromHex("FF0F7B"), 
        Color3.fromHex("F89B29")
    ),
    OnlyMobile = false,
    Enabled = true,
    Draggable = true,
})

Edit Topbar Buttons

Disable Topbar Buttons

Window:DisableTopbarButtons({
    "Close", 
    "Minimize", 
    "Fullscreen",
})

Create Custom Topbar Buttons

--                        | Special name     | Icon     | Callback                         | Order
Window:CreateTopbarButton("MyCustomButton1", "bird",    function() print("clicked!") end,  990)

API

Window Options

PropTypeDefault
KeySystem?
table
{}
User?
table
{}
ScrollBarEnabled?
boolean
false
HideSearchBar?
boolean
false
BackgroundImageTransparency?
number
0
Background?
string
nil
SideBarWidth?
number
200
Theme?
string
Dark
Transparent?
boolean
false
Size?
UDim2
UDim2.new(0,580,0,460)
Folder
string
nil
Author?
string
nil
IconThemed?
boolean
false
Icon?
string
nil
Title
string
UI Library

User Options

PropTypeDefault
Callback?
function
nil
Anonymous?
boolean
false
Enabled
boolean
false

KeySystem Options

PropTypeDefault
SaveKey?
boolean
false
URL?
string
nil
Thumbnail?
table
{}
Note?
string
nil
Key
table
{}

Thumbnail Options (inside KeySystem)

PropTypeDefault
Title?
string
nil
Image
string
nil

On this page