Introducing
About WindUI
Setup
LoadstringThemes
UI
WindowKey SystemTabDialogPopupNotificationTagTab Section
Elements
SectionButtonToggleSliderInputDropdownParagraphKeybindColorpickerCodeDividerSpaceImageGroup (deprecated)HStack & VStack
Advanced
ConfigsIcons

Dropdown

Create dropdown select menus in WindUI

Dropdowns allow users to select from a list of predefined Values. They're useful for presenting multiple choices in a compact format.

local Dropdown = Tab:Dropdown({
    Title = "Select Value",
    Values = {
        "Option 1",
        "Option 2",
        "Option 3"
    },
    Callback = function(selected)
        print("Selected:", selected)
    end
})
NameDefault
: stringDropdown
: string?nil
: table{}
: string?nil
: boolean?false
: boolean?false
: boolean?false
: boolean?false
: string?nil
: function?nil
Name
()
()
()
()
()
()
()

Simple Dropdown

Tab:Dropdown({
    Title = "Choose Theme",
    Values = {
        "Light",
        "Dark",
        "Auto"
    },
    Value = "Dark",
    Callback = function(selected)
        print("Theme:", selected)
    end
})

Multi-Select Dropdown

Tab:Dropdown({
    Title = "Select Features",
    Desc = "Choose multiple features to enable",
    Values = {
        "Feature A",
        "Feature B",
        "Feature C",
        "Feature D"
    },
    Multi = true,
    AllowNone = true,
    Callback = function(selected)
        print("Selected features:", selected)
    end
})