Bounce Effect
Realistic bounce animations with physics simulation, customizable elasticity, and natural motion effects
Pro features
What the Pro version adds to this component.
Physics Simulation
Realistic bounce with gravity
Multiple Triggers
Hover, click, auto, scroll
5 Directions
Up, down, left, right, all
Bounce Control
Count, distance, duration
Squash & Stretch
Cartoon-like deformation
Rotation Support
Rotate during bounce
Installation
Install via CLI
npx @moontra/moonui-cli add bounce-effectUsage
Examples
Direction Variants
Control bounce direction: up, down, left, right for different visual effects
Trigger Types
Choose when bounce animation activates: hover, click, or auto on mount
Bounce Intensity
Control number of bounces (1-4) for different levels of energy
Distance Control
Adjust bounce distance from subtle (10px) to dramatic (50px)
Duration Variations
Control animation speed from quick (300ms) to slow (1200ms)
Interactive Buttons
Real-world button examples with bounce effects
Card Bounce Interactions
Add bounce effects to cards for engaging hover states
Icon Animations
Apply bounce effects to icons for playful UI elements