RobloxUIRobloxUI
BrowseDocsPricingSubmit
/
/
RobloxUIRobloxUI — Roblox UI Components Marketplace
DocsSitemapTermsPrivacyCookiesSettingsPerformance
  1. Home
  2. /
  3. Containers
  4. /
  5. Modal Dialog
Booting Luau VM…

Install with the CLI

Add Modal Dialog to your Roblox project in one command. Requires Node 18+ and a Roblox project — run robloxui init first if you don't have one yet. See the docs.

bashnpx robloxui add modal-dialog

First time? Start with the documentation.

Import

tsx
import { Modal Dialog } from "./src/client/ui/components/modal-dialog";

Usage

tsx
<ModalDialog title="Confirm" visible={true} onClose={() => setVisible(false)}><textlabel Text="Sure?" /></ModalDialog>

Modal Dialog

TSX + LuauFree

A centered modal overlay with backdrop blur, title, body content, and action buttons. Traps focus and closes on Escape or backdrop click.

by RobloxUI Team

View Source

Details

AuthorRobloxUI Team
FrameworkRoblox-TS + React-Luau
CategoryContainers
Dependencies@rbxts/react
Theme Tokenscolors.bgSecondary, colors.textPrimary, radius.lg
Last Updated
July 31, 2026
Modal Dialog — RobloxUI