# Bounce warning dialog

https://fieldbook.lizardi.mx/components/bounce-warning-dialog

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

Bounce warning dialog: A confirmation dialog that pops in with a springy overshoot and a bouncing icon badge, demanding a response before the page below becomes usable again.

## 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 |
| --- | --- | --- | --- |
| accentColor | color | #F5C542 | No additional limit in the metadata. |
| springBounce | number | 6 | From 0 to 15; step 1 |
| icon | select | warning | Options: warning, info, danger |

## Usage notes

Bounce warning dialog uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Bounce warning dialog?

Bounce warning 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 Bounce warning dialog depend on?

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

### What accessibility details are visible in Bounce warning dialog?

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

### How does Bounce warning dialog handle reduced motion?

Bounce warning dialog reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: badgeTransition: reduced ? \{ duration: 0 \} : \{ type: "spring", bounce: Math.min(1, bounce + 0.2), duration: 0.4 \}; duration: reduced ? 0 : 0.22; exitTransition: reduced ? \{ duration: 0 \} : \{ duration: 0.16, ease: \[0.4, 0, 1, 1\] \}. 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": "bounce-warning-dialog",
    "framework": "react"
  }
}
```

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

## Related open components

- [Consequence confirm dialog](https://fieldbook.lizardi.mx/components/consequence-confirm-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)
- [Focus-Trapped Modal Kit](https://fieldbook.lizardi.mx/components/focus-trapped-modal-kit)
