Widgets

Escape button

A button that slides away from the cursor — and then stops. It bolts over the last third of its field (squared, not linear), dodges once per approach, and gives in after a fixed number of tries so the joke never becomes the dark pattern it imitates.

What it is

A button that slides away from the cursor — and then stops. It dodges once per approach and gives in after a fixed number of tries, so the joke never becomes the dark pattern it imitates. For 404 pages, April fools, 'are you sure?' moments and marketing sites with a sense of humour. Rebuilt from bencho.dev.

Full library — live sample, numbers, prompt and source — is for clients. I have the password

Seen in

Lorenzo Cabra · Bencho (escape) · block logic MIT