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

Popup

Create standalone popup windows

Popups are standalone windows that display information with action buttons. They're useful for announcements, confirmations, and important messages.

local Popup = WindUI:Popup({
    Title = "Welcome",
    Content = "Welcome to our application!",
    Buttons = {
        {
            Title = "Get Started",
            Callback = function()
                print("Getting started...")
            end
        }
    }
})
NameDefault
: stringPopup
: string?nil
: stringnil
: table{}

Button Configuration

Each button in the Buttons array can have:

NameDefault
: stringButton
: string?nil
: string?Primary
: function?nil

Close Popup

Close and hide the popup.

Popup:Close()

Differences: Popup vs Dialog

  • Popup: Standalone windows with title and full styling, for announcements
  • Dialog: Modal prompts that block window interaction, for confirmations
  • Notification: Temporary messages that auto-dismiss, for feedback