Skip to content
Menu

Overlays

Consequence confirm dialog

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.

Using Consequence confirm dialog

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

Customize the preview

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

ControlTypeDefaultPreview limits
fromselecttopOptions: top, bottom, left, right
accentcolor#FF4D8DNo additional limit in the metadata.
headlinetextDelete this workspace?Up to 60 characters
continueLabeltextDeleteUp to 24 characters
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.

Connect your agent

Related open components