Dialog

This component presents content in a centered modal window above the main interface. It is typically used for confirmations, forms, or focused interactions that require the user’s attention. A dialog consists of a title and body content, and can be controlled through an isPresented state. Additional options can be provided to customize its appearance and behavior (e. g. , alignment, padding, footer actions).

Constructors

Dialog

Dialog creates a new dialog with the given title, body content, visibility state, and optional configuration.