Displays a confirmation modal window above the page contents.
alignasChildComposes the component into its immediate child instead of rendering its own HTML element. You’ll have to provide a single React Element child.
containerElement | DocumentFragment | nullheightResponsive<string>maxHeightResponsive<string>maxWidthResponsive<string>Sets the CSS **max-width** property. Supports CSS strings and responsive objects.
minHeightResponsive<string>minWidthResponsive<string>Sets the CSS **min-width** property. Supports CSS strings and responsive objects.
sizewidthResponsive<string>Sets the CSS **width** property. Supports CSS strings and responsive objects.
alignascolorhighContrastsizetrimtruncateweightwrapAlso supports MarginProps: `m`, `mb`, `ml`, `mr`, `mt`, `mx`, `my`
aligncolorhighContrastsizetrimtruncateweightwrapAlso supports MarginProps: `m`, `mb`, `ml`, `mr`, `mt`, `mx`, `my`
titleReactNodedescriptionReactNodeerrorReactNodeUse the size prop in the Content component to control the maxWidth of the alert dialog.
If you have a very specific case, you can still pass a custom maxWidth prop to override the size.
Use the Inset component to create a container that ignores the Content part padding. If needed, you can recreate the original padding by setting the Inset part’s padding props to "current".
A complete example showing how to create an alert dialog for destructive actions with proper loading states and network request simulation.
A complete example showing how to create a confirmation dialog for destructive actions that require text confirmation, using React Hook Form and loading states.
A complete example showing how to handle server-side errors in alert dialogs with proper error display.
7 variants found
/:environmentId/applications/:applicationId
/:environmentId/log-streams/:logStreamId
/:environmentId/applications/:applicationId
/:environmentId/log-streams/:logStreamId
/:environmentId/applications/:applicationId
/:environmentId/applications/:applicationId
1 variant found
/p/:portalSessionId/directory-sync/:directoryId/completed
Also supports MarginProps: m, mb, ml, mr, mt, mx, my
Also supports MarginProps: m, mb, ml, mr, mt, mx, my
Used 297 times across 2 packages
size
48 files
/:environmentId/applications/:applicationId
/:environmentId/roles-and-permissions/resource-types/edit/content-panel
Show 38 more files