Displays a general-purpose modal dialog with one to three actions.
title: String
dialog heading
description: String
explanatory body text
primaryAction: DialogAction
highest-emphasis action
onDismissRequest: () -> Unit
callback for outside-click, back, or system dismissal
modifier: Modifier
modifier applied to the dialog container
secondaryAction: DialogAction?
optional supporting action beside the primary action
tertiaryAction: DialogAction?
optional low-emphasis action below the main action row
leading: (@Composable () -> Unit)?
optional control at the start of the title row
trailing: (@Composable () -> Unit)?
optional control at the end of the title row
thumbnail: (@Composable () -> Unit)?
optional edge-to-edge media above the dialog body
progress: DialogProgress?
optional multi-step progress displayed over or above the body
colors: DialogColors
semantic dialog, banner, selection, and progress colors
dimensions: DialogDimensions
dialog width, spacing, action, and media geometry
shape: Shape
dialog container shape
properties: DialogProperties
platform dialog behavior