Creating Tabs
Tabs divide widgets into individual scrolling panels linked to sidebar buttons.
Creating Tab Pages#
1local Tab = Window:CreateTab(name, iconName, category)
name (string): Tab display label.
iconName (string): Lucide icon name (e.g., "globe").
category (string): Sidebar section grouping.
Supported categories:
"Modules"
"Navigation" (Default)
"World"
Complete Code Example#
Here is a complete script demonstrating how to create multiple tabs grouped under different categories:
1local ValincUi = loadstring(game:HttpGet("https://cdn.vinzhub.com/scripts/Liblery%20Ui/VALINC-QUARTZ/57319f29599c47672f19f8d56d53ffbe/a6b3ccb1f04d1d7d06232a9c5d25779e2af89c12992bebae.lua"))()
2
3local Window = ValincUi:CreateWindow("Multi-Tab Hub", "globe", "gold")
4
5-- Create tabs in different categories
6local FarmTab = Window:CreateTab("Auto Farm", "swords", "Modules")
7local TeleportTab = Window:CreateTab("Teleports", "map-pin", "World")
8local SettingsTab = Window:CreateTab("Settings", "settings", "Navigation")
9
10-- Instantiate sections in each tab to confirm they work
11FarmTab:CreateSection("Combat Farms"):CreateLabel("Combat farm controls here.")
12TeleportTab:CreateSection("Waypoints"):CreateLabel("Teleport locations list here.")
13SettingsTab:CreateSection("Configs"):CreateLabel("Configure hotkeys and UI variables.")