Widgets

Slide to confirm

A track with a round handle. It follows the finger exactly — the grab offset is taken at the first move, never at the press — and when you let go past the threshold the handle does not hand over to a fill: it morphs, growing backwards to cover the track it crossed while its right edge stays put.

What it is

A track with a round handle that follows the finger exactly; let go past the threshold and the handle morphs, growing backwards to cover the track it crossed. The 'slide to pay', 'slide to unlock', 'slide to delete' control — for payments, check-outs, deliveries and any action that should take a deliberate gesture rather than a tap. Rebuilt from bencho.dev.

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

Seen in

Lorenzo Cabra · Bencho (slide-confirm) · block logic MIT