Vibary.ai
← Vibe Coding

Signature Draw Capture

The scrawl strokes on at hand speed and the baseline confirms once the pen lifts.

formspremiumelegantinteraction · finite · intermediate · ~1.9s
Interactive · click to play
Variant

The animated component in this preview is rendered from the canonical file shown here. The surrounding demo shell only provides context and is not part of the copied code.

290 lines · react + motion only
import { useState } from "react";
import { motion, useReducedMotion } from "motion/react";

/**
 * Vibary · Signature Draw Capture
 *
 * A signing pad that puts the stroke down the way a hand would: the main
 * scrawl runs first, the flourish follows it, and only once the pen is

About this pattern

Signing, staged the way a hand does it. The main stroke runs first at writing pace, the flourish follows it, and nothing confirms until the pen has left the paper — then the accent runs along the baseline in the direction the hand moved and the capture line fades in beneath it. Nothing springs anywhere in the sequence: a signature is a record, and a stroke that overshoots and settles back would be drawing something the signer did not write. The ink is the page's own text colour, so it reads on a light sheet and on a dark one.

Sign an agreementDelivery acceptanceConsent captureContract signing step

Where it shows up

Screens we drew to show where this motion usually sits. Illustrations, not captures of any product.

  • Payment
    Card number4242 4242 4242 4242Name on cardN. Bergström
    Expiry04 / 28CVC•••
    Subtotal$156.00Shipping$0.00Tax$13.65Total$169.65
    Pay $169.65
    Checkout

    The signing pad confirms only after the finger leaves the glass.

Related patterns