Dragging Ball
DragMotionInteractive physics ball constrained by elastic spring tether with velocity release bounce.
Interactive Live Stage
✦
Instruction:Full multi-touch gesture support with touch-action isolation
⚙ Controls & Tuning
1 ParametersBall Size40
Supported States:
IdleDraggingBouncingRest
Component Props & API
Type-safe React 19 interface properties supported by Dragging Ball.
| Prop Name | Type | Default | Description |
|---|---|---|---|
| ballSize | number | 40 | Diameter of the ball in pixels |
⌨ Keyboard Support
Arrow keys for fine nudge (2px); Space to reset
📱 Touch & Gestures
Full multi-touch gesture support with touch-action isolation
⚡ Reduced Motion
Falls back to instant CSS transitions with zero continuous physics loops
Related Primitives
Explore complementary tactile interactions in the Motion category.