# Open Confirm

## Overview

The Open Confirm Modal interaction in Salesforce Experience Cloud is designed to prompt users with a confirmation dialog when an action that requires verification is initiated. This helps prevent unintended operations by requiring user affirmation

## Properties

| Name             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`Label`**      | The title of the confirm modal usually posing a question or decision.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **`Message`**    | The body text provides details about the action that needs confirmation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **`Variant`**    | <ul><li><code>header</code>: The modal includes a header.</li><li><code>headerless</code>: The modal does not include a header</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **`Theme`**      | <ul><li><p>Defines the visual styling of the modal. Options include:</p><ul><li><code>default</code>: Standard look and feel.</li><li><code>shade</code>: A slight shadow or overlay.</li><li><code>inverse</code>: Colors are inverted.</li><li><code>alt inverse</code>: An alternative to the standard inverse.</li><li><code>success</code>: Green theme indicating a successful action or state.</li><li><code>info</code>: Blue theme for informational messages.</li><li><code>warning</code>: Yellow/orange theme for cautionary messages.</li><li><code>error</code>: Red theme for error messages.</li><li><code>offline</code>: Indicates lack of connectivity or offline status.</li></ul></li></ul> |
| **`On Confirm`** | <ul><li><code>Show Toast</code>: Displays a brief message at the top of the page. <a href="show-toast">Learn more</a>.</li><li><code>Open Flow Dialog</code>: Initiates a Salesforce flow in a dialog box. <a href="open-flow-dialog">Learn more</a>.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
