← All examplesConfirms

Standalone confirm and alert

Ask for confirmation or acknowledgement outside a form.

Standalone dialogs

Try a destructive confirmation or an acknowledgement dialog. Both use the shared provider queue.

CodeFocused snippet
const confirmed = await feedback.confirm({
  title: 'Remove this draft?',
  destructive: true,
})
if (confirmed) await removeDraft()

const result = await feedback.alert({ title: 'Export ready' })

Read the related guide →

This demo uses a local, temporary action. It does not send data or write to a service.