useBall · React MotionKit

The travelling ball: a round body that charges toward its destination, springs across and squashes against the wall it lands on (the Switch thumb physics for dots, thumbs, carets and rails).

npx shadcn@latest add https://reactmotionkit.com/r/ball.json
Loading the source for ball…

ball