Skip to content

Overlays

IConfirmPopover ​

A yes/no question anchored to whatever opened it — for confirmations that don't warrant a modal.

Unlike IConfirmDialog, there is no backdrop: the page behind remains interactive and keeps its place in the screen reader's reading order. Use the dialog when the action is significant enough to warrant stopping the user first.

Description ​

A second line of detail goes under the question.

In a table row ​

The common case: a per-row delete action too frequent and too low-stakes to interrupt the whole page for.

NameRoleActions
Avery LindqvistOwner
Rowan AdeyemiEditor
Mika SørensenViewer

Props ​

PropTypeDefaultDescription
titlestring—The question
descriptionstring—Secondary detail under the question
confirmLabelstring'Confirm'Text for the confirming button
cancelLabelstring'Cancel'Text for the dismissing button
dangerboolean—Style the confirming button as destructive
side'top' | 'right' | 'bottom' | 'left''bottom'Which side of the trigger the panel opens on
align'start' | 'center' | 'end''center'Alignment along that side
sideOffsetnumber6Gap between the trigger and the panel
arrowbooleantrueRender the little pointer against the trigger
unstyledboolean—Drop built-in classes
classstring—Merged with the built-in classes
ui{ content?, title?, description?, actions?, cancel?, confirm? }—Per-element class overrides

Events ​

EventPayloadWhen
confirm—The confirming button was clicked
cancel—The cancelling button was clicked

Slots ​

SlotWhen to use it
triggerThe element that opens the panel — required
descriptionThe detail line needs markup