# Consequence confirm dialog

https://fieldbook.lizardi.mx/components/consequence-confirm-dialog

Category: Overlays
![Still of the Consequence confirm dialog component, a Fieldbook UI component in Overlays.](https://fieldbook.lizardi.mx/thumbs/consequence-confirm-dialog.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/consequence-confirm-dialog-99915896a0.mp4 (5 s, silent)

Consequence confirm dialog: A confirmation dialog that tilts into view from a chosen edge and blocks the page until the visitor explicitly cancels or continues.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| from | select | top | Options: top, bottom, left, right |
| accent | color | #FF4D8D | No additional limit in the metadata. |
| headline | text | Delete this workspace? | Up to 60 characters |
| continueLabel | text | Delete | Up to 24 characters |

## Usage notes

Consequence confirm dialog uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Consequence confirm dialog?

Consequence confirm dialog is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Consequence confirm dialog depend on?

The React metadata lists these npm dependencies beyond React: motion, radix-ui, clsx, tailwind-merge.

### What accessibility details are visible in Consequence confirm dialog?

The React source for Consequence confirm dialog includes: native elements (button); attributes and handlers (aria-hidden, onKeyDown); explicit roles (alertdialog); key comparisons (Tab). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Consequence confirm dialog handle reduced motion?

Consequence confirm dialog reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0 : 0.18; exit: reduced ? \{ opacity: 0 \} : tilted; initial: reduced ? \{ opacity: 0 \} : tilted. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "consequence-confirm-dialog",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Bounce warning dialog](https://fieldbook.lizardi.mx/components/bounce-warning-dialog)
- [Perspective reveal dialog](https://fieldbook.lizardi.mx/components/perspective-reveal-dialog)
- [Typed confirm dialog](https://fieldbook.lizardi.mx/components/typed-confirm-dialog)
- [Centered modal frame](https://fieldbook.lizardi.mx/components/centered-modal-frame)
- [Confirm action modal](https://fieldbook.lizardi.mx/components/confirm-action-modal)
- [Destructive confirm dialog](https://fieldbook.lizardi.mx/components/destructive-confirm-dialog)
