XLQP Gen1
ElementsNavigation & windows

AddSideTab

Adds a tab to a side-oriented navigation container.

AddSideTab

What it does

Adds a tab to a side-oriented navigation container.

When to use it

Use it when building secondary navigation that lives beside the main content.

TabFunction:AddSideTab(TabConfig)

local ToolsTab = Window:AddSideTab({
    Name = "Tools",
    Icon = "wrench",
    Group = "Utilities",
    GroupIcon = "folder",
    GroupLayoutOrder = 2,
    LayoutOrder = 10,
    PremiumOnly = false,
    Changelog = {
        "Added server tools",
        "Improved navigation",
    },
    Cooldown = 300,
    AutoHome = false,
    OnSelect = function(tab)
        print("Selected:", tab.Name)
    end,
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.