Escape Button
HoverMotionPlayful button that calculates mouse proximity and smoothly glides away to evade cursor clicks.
Interactive Live Stage
Instruction:Full multi-touch gesture support with touch-action isolation
⚙ Controls & Tuning
1 ParametersDodge Distance60
Supported States:
IdleDodgingCaught
Component Props & API
Type-safe React 19 interface properties supported by Escape Button.
| Prop Name | Type | Default | Description |
|---|---|---|---|
| dodgeRadius | number | 60 | Max distance the button jumps |
⌨ Keyboard Support
Tab focusable; Space / Enter to activate
📱 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.