Skip to content

Feedback

ConfirmDialog

Pre-built confirm-or-cancel dialog for destructive or high-friction actions.

Playground

Live preview generated for ConfirmDialog inside this component page.

This preview is compiled into the VitePress docs build from the published SDK package.

Import

ts
import { ConfirmDialog } from "@morscherlab/mint-sdk/components"

Basic Usage

vue
<ConfirmDialog
  v-model="confirmingDelete"
  title="Delete panel?"
  message="This cannot be undone."
  variant="danger"
  confirm-label="Delete"
  @confirm="confirmDelete"
/>

Back to component library

MINT is open source. Made by the Morscher Lab.