# Confirm Dialog A confirmation dialog pattern using native `` with title, message, and action buttons. ## Example ```html

Confirm Action

Are you sure you want to proceed? This cannot be undone.

``` ## Key Classes Used - `.close` - Circular close button (positioned top-right automatically) - `.stack` - Vertical layout for dialog content - `.cluster` - Horizontal layout for action buttons - `.h4` - Heading style without using an actual heading element - `.primary` - Primary action button ## How It Works - Uses HTML invokers (`commandfor`/`command`) - no JavaScript for open/close - `.stack` provides consistent vertical spacing between title, message, and buttons - `.cluster` with `justify-content: flex-end` aligns buttons to the right - Both Cancel and Confirm close the dialog; add your own JS for the confirm action ## Variations ### Destructive Action ```html ``` ### With Form ```html

Save Changes?

You have unsaved changes.

``` ## See Also - [Dialog](https://graffiti-ui.com/llms/dialog.txt) - Basic dialog usage