Docs
Bouncing Ball

Bouncing Ball

Introduce a free interactive 3D Bouncing Ball component to your website or app with our easy-to-integrate Tailwind CSS and Three.js component. Enhance user engagement with a smooth, responsive animation.

Gravity

Please don't tap the ball

Installation

Install Dependencies

Install the necassary dependencies.

npm i @react-three/fiber @react-three/rapier 

Paste Component Code

Create a new component in your project and paste in the below code.

Serve your Application

Just like that. Your new component should render in your App.

Other things

Credits

  • 0xca0a - The master of inspiration. Thank you for all things Three.js related. A brilliant creator.