A popup is a self-contained floating panel that opens immediately and sits above the rest of the UI. Unlike a dialog, it is not anchored to the window and does not dim or block interaction with content behind it. Popups are created by callingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Footagesus/WindUI/llms.txt
Use this file to discover all available pages before exploring further.
WindUI:Popup(Config).
Basic usage
Parameters
Heading text displayed at the top of the popup.
Icon name shown to the left of the title. The icon is always rendered in the current theme’s popup icon color.
When
true, the icon tint follows the current theme’s text color instead of the popup icon color.Body text shown below the title. Supports RichText markup.
An ordered array of button configs rendered in the bottom-right corner of the popup.Each button supports:
| Field | Type | Description |
|---|---|---|
Title | string | Button label |
Icon | string | Optional icon name |
Variant | string | "Primary", "Secondary", or "Tertiary" |
Callback | function | Called when the button is clicked |
An optional image panel rendered on the left side of the popup. Supports the following fields:
When
| Field | Type | Description |
|---|---|---|
Image | string | rbxassetid:// URL for the thumbnail image |
Title | string | Optional label overlaid on the thumbnail |
Thumbnail.Image is provided the popup width expands to accommodate the image.Popup vs Dialog
| Popup | Dialog | |
|---|---|---|
| Blocks window input | No | Yes |
| Attached to window | No | Yes |
| Positioned | Center of screen | Center of window |
| Use case | Announcements, welcome screens | Confirmations, destructive actions |
Multiple buttons example
Triggering a popup from a function
WrapWindUI:Popup() in a function to call it at the right time — for example, after the window has been created: