Skip to content
  • Android
  • iOS
  • Web

Dialog

A Dialog component is a UI element that displays a pop-up window over the main content to capture user attention or request input. It is often used for tasks like confirmations, alerts, forms, or other interactions that require user feedback before proceeding. Dialogs can include buttons like "OK" or "Cancel" to confirm or dismiss actions, and typically block interaction with the underlying content until closed.

Live examples

Example.tsx

Attributes

NDialog attributes
NameTypeDefaultDetails
isOpenbooleanOptional
titlestringOptional
maxWidthnumberOptional
classNamestringOptional
titleClassNamestringOptional
contentClassNamestringOptional
childrenReactNodeOptional
onOpenChange((open: boolean) => void)Optional
triggerReactNodeOptional
showCloseButtonbooleanOptionalHide the header button while retaining backdrop and swipe dismissal.
Engine reference for DialogSet up engine components

Tags