GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

06Drag-to-confirm — a button that reaches a confirmed state once a dragged position value passes a threshold

Once the dragged position value passes a set threshold value, it changes to a confirmed state; if released while still below the threshold, the position value returns to its starting place.

Best forA payment-confirmation button, a confirmation for a risky action

THRESH=0.7THUMB_W=40settle
Drag-to-confirm — a button that reaches a confirmed state once a dragged position value passes a threshold
Open in a new tab

06 Drag-to-confirm — a button that reaches a confirmed state once a dragged position value passes a threshold — Measured area 5.158% · moving frames 16/23Original by GODRICH · SCSS and React ship in the zip · CTA Button Design: 9 Interaction Patterns

The post this demo lives in

CTA Button Design: 9 Interaction Patterns - preview of all 9 demosCTA Button Design: 9 Interaction PatternsOne shadow length value grows and shrinks with hover state, one perimeter progress value depletes to zero over time, and See all demos in this post

If you like this effect - similar demos