Skip to content
Menu

Overlays

Bounce warning dialog

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.

Using Bounce warning dialog

Bounce warning 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
accentColorcolor#F5C542No additional limit in the metadata.
springBouncenumber6From 0 to 15; step 1
iconselectwarningOptions: warning, info, danger
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.

Connect your agent

Related open components