Smooth UI/Interactive/Escape Button

Escape Button

HoverMotion

Playful 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 Parameters
Dodge Distance60
Supported States:
IdleDodgingCaught

Component Props & API

Type-safe React 19 interface properties supported by Escape Button.

Prop NameTypeDefaultDescription
dodgeRadiusnumber60Max 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