Glass Bubble
DragMotionDraggable glassmorphism sphere with specular highlight reflections, elastic boundary tethering, and spring release physics.
Interactive Live Stage
Instruction:Full multi-touch gesture support with touch-action isolation
⚙ Controls & Tuning
2 ParametersBubble Size56
Tether Elasticity0.25
Supported States:
IdleDraggingSpringingReleased
Component Props & API
Type-safe React 19 interface properties supported by Glass Bubble.
| Prop Name | Type | Default | Description |
|---|---|---|---|
| bubbleSize | number | 56 | Diameter of the glass bubble 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.