Skip to content
Menu

Cards

Bouncing Photo Fan

Bouncing Photo Fan: A row of overlapping square photo tiles that pop in with an elastic overshoot, then shove each other aside when one is hovered.

Using Bouncing Photo Fan

Bouncing Photo Fan uses the wide preview frame with a 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
countnumber5From 3 to 6; step 1
spreadnumber85From 40 to 160; step 5
staggernumber0.06From 0 to 0.2; step 0.01
pushOnHoverbooleantrueNo additional limit in the metadata.
accentcolor#FF6A1FNo additional limit in the metadata.
Which frameworks are available for Bouncing Photo Fan?

Bouncing Photo Fan 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 Bouncing Photo Fan depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

What accessibility details are visible in Bouncing Photo Fan?

The React source for Bouncing Photo Fan includes: attributes and handlers (aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Bouncing Photo Fan handle reduced motion?

Bouncing Photo Fan reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduceMotion ? 0.3 : 0.4; reduceMotion ? { opacity: 0, x: restX, y: 0, rotate: restRotate, scale: 1 } : { opacity: 0, x: restX, y: 0, rotate: restRotate, scale: 0 }; scale: reduceMotion ? { duration: 0.01 } : { type: "spring", stiffness: 300, damping: 11, mass: 0.9, delay: entranceDelay }. 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