Dragging ball
A draggable squishy ball for React that reacts like something soft. Grab it and it swells under the pointer, squeezes while you hold it and stretches as it moves. Stretch, size and how quickly it rounds back out are adjustable. Fun for playful interfaces, loading screens and interactive demos.

Drag · free, with full source
Dragging ball props
| Name | Type | Default | Description |
|---|---|---|---|
stretch | number | 36 | How much it deforms as it moves. From 0 to 70. |
grip | number | 50 | How hard it squeezes when held. From 0 to 100. |
size | number | 56px | The ball. From 32 to 84px. |
Free under MIT. Licence