All blocks

Block 02 · Fintech

Receive Funds

A Receive modal whose surface turns to water while the money arrives. Silver folds catch a light from above, holographic currency glyphs show in the streak, and the balance rolls up on odometer wheels.

4K · 60 fps · 26 s

Silver folds on black

Open in ProKinetic

Receive Funds is in the app's Library (ProKinetic 0.10 or later). Tune it in Tuner, then Copy Swift or Add to Project. Get ProKinetic

Get it
In ProKinetic's Library
File
ReceiveFunds.swift · 1,800 lines · 150 KB
Runs on
iOS 17+ · macOS 14+
Needs
SwiftUI, with its Metal shader compiled in · build with Xcode 26+
Tuning
38 dials in ProKinetic Tuner
Licence
MIT · use it anywhere
[ 01 ]What it does

Motion you'd tune for a week, already tuned.

  • A surface you see through

    While the money arrives, broad folds roll up from below the modal. Everything under them bends with the water, the balance, the sender and the button, and the modal's own edge gives a little with the surface before it stills.

  • Light and holographic glyphs

    A soft light above catches the slopes. They turn silver with a thin pearl film, and currency glyphs show only inside the streak, split red and blue like a hologram. It's a Metal shader, and every value in it is a dial.

  • Numbers roll, labels morph

    The balance counts up on odometer wheels that blur while they spin. "incoming" becomes "received", and the button goes Receiving… → Received → Done on its shared letters, starting as clear Liquid Glass floating on the water.

  • Drop-in

    Pass your own transfer, and Done or the close button calls you back. A new arrival date replays it in place: the wheels spin back and every label springs to its first state. It follows Light and Dark, and the shader is compiled into the file.

[ 02 ]Use it

Drop ReceiveFunds.swift into your target.

Get it from the Library in ProKinetic: Copy Swift or Add to Project hands you the file with your tuned values. There's nothing to set up: the shader is compiled into the file for macOS, iOS and the Simulator. Show it when money arrives, and it calls you back from Done or the close button.

WalletView.swift
struct WalletView: View {
    @State private var showReceive = true

    var body: some View {
        ZStack {
            Color.gray.opacity(0.15).ignoresSafeArea()
            if showReceive {
                ReceiveFunds { showReceive = false }   // Done and × dismiss it
            }
        }
    }
}
Your own transfer
ReceiveFunds(transfer: .init(amount: 120, balanceBefore: 845.20,
                             sender: "Sam Ortiz", initials: "SO",
                             memo: "dinner on Friday", time: "Just now",
                             account: "Main account"),
             arrivedAt: payment.arrivedAt) {   // a new date replays it in place
    showReceive = false
}
[ 03 ]Tune it in ProKinetic Tuner

38 dials. Every spring, delay and threshold.

Tuner is ProKinetic's live editor for SwiftUI motion on the Mac. Receive Funds opens on its canvas with a dial for every value it uses, grouped the way the list below is.

  1. Step 1

    Open it in Tuner

    Open in ProKinetic, above, takes you to Receive Funds in the app's Library (View ▸ Library, ⇧⌘L), where Open in Tuner puts it on the canvas with every dial ready. It needs ProKinetic 0.10 or later: install or update with the same command.

  2. Step 2

    Drag the dials

    The modal replays on a loop, and every dial changes the next play. Slow the canvas down to watch a fold roll through, or tap the stage to play it from the start.

  3. Step 3

    Copy Swift

    Copy Swift writes your values into ReceiveFunds.Tuning as the new defaults, so the file you paste is the one you tuned.

Or change them in code

Every dial that tunes the component is a field on ReceiveFunds.Tuning. Pass the ones you want to change, and the rest keep their tuned values. Response is the spring's period in seconds (lower is quicker). Damping runs from 0 to 1: lower overshoots and wobbles, and 1 settles without overshoot.

Tuning
ReceiveFunds(tuning: .init(receivedAt: 2.6,
                           waveHeight: 16,
                           refraction: 18))
Sequence10 dials
DialTunedRangeWhat it does
Count · starts atcountStart0.25 s0 – 1 sThe balance starts counting this long after the money arrives. On a replay the wheels spin back to the old balance over this time.
Count · lands atcountLands1.95 s0.8 – 4 sThe balance reaches the new total here, before the button says Received.
Count · spring time constantcountTime0.3 s0.08 – 0.8 sA critically damped spring drives the count; smaller rushes the start, larger eases in.
Count · spin blurspinBlur2.4 pt0 – 6 ptDigits that spin faster than six changes a second blur by up to this.
Received line · turns green atlineAt1.55 s0.5 – 4 s"incoming" becomes "received" on its shared "+$2,450.75".
Button · Received atreceivedAt2.2 s0.8 – 5 sReceiving… morphs into Received on the shared "Receiv".
Button · Done atdoneAt3.2 s1.5 – 6 sReceived becomes Done; Done dismisses the modal.
Button · morph responsebuttonResponse0.45 s0.15 – 1 sThe fill, the label and the icon change on this spring: clear glass → green → inverse, and back on a replay.
Button · morph dampingbuttonDamping0.860.4 – 1
Modal · corner radiuscornerRadius38 pt16 – 56 ptConcentric with an iPhone's display corner at a 16 pt inset.
Canvas2 dials
DialTunedRangeWhat it does
ThemethemeLightLight · DarkTuner's canvas only. The appearance the canvas shows. In an app, the block follows Light and Dark.
Loop · hold Done forholdDone1.06 s0.4 – 6 sTuner's canvas only. The canvas holds Done this long, then winds the modal back to Receiving… in place and plays again.
Waves12 dials
DialTunedRangeWhat it does
Fronts · speedwaveSpeed250 pt/s80 – 500 pt/sHow fast each front rolls up through the modal.
Fronts · widthwaveWidth62 pt20 – 140 ptThe breadth of a front: broad and silky, or a narrow ring.
Fronts · heightwaveHeight12 pt2 – 30 ptFold height; everything else (silver, light, glyphs) follows the slopes it makes.
Fronts · countwaveCount41 – 4Fronts launched while the money arrives.
Fronts · launch intervalwaveInterval0.62 s0.2 – 1.5 s
Fronts · fade timewaveDecay1.5 s0.4 – 4 sEach front loses height on this time constant.
Fronts · ripple lengthrippleLength150 pt60 – 400 ptThe distance between the crests inside a front.
Fronts · swirlswirl26 pt0 – 80 ptSlow noise warps the plane so the fronts lean and swirl like silk.
Fronts · origin below the modaloriginDrop70 pt0 – 300 ptThe fronts start this far below the bottom centre.
Rim · creasescreases0.320 – 1Where a front meets the edge the film pinches into small creases.
Surface · stills fromsettleStart2.3 s1 – 5 sThe water starts to flatten here (just after Received).
Surface · settle timesettleTime1.2 s0.2 – 3 sA critically damped spring flattens the surface over this long.
Light7 dials
DialTunedRangeWhat it does
Refractionrefraction13 pt0 – 30 ptHow far the UI bends under a slope.
Rim · giverimGive3 pt0 – 10 ptHow far the modal's outline moves with the surface.
Light · heightlightHeight0.30.05 – 0.7Where the soft box above sits: the slope that catches it shows the streak and the glyphs.
Light · streak widthlightWidth0.10.03 – 0.3
Light · streak brightnessstreak0.60 – 1.5
Silver · sheensheen10 – 2The grey-silver of the slopes facing away from the light.
Folds · shadowfoldShadow90 – 20Troughs collect shadow.
Film2 dials
DialTunedRangeWhat it does
Film · pearl tintpearl0.260 – 1The thin-film rainbow on the bends.
Film · driftfilmDrift0.250 – 1How fast the film's colours wander.
Glyphs5 dials
DialTunedRangeWhat it does
Glyphs · cell widthglyphWidth13 pt8 – 24 pt
Glyphs · cell heightglyphHeight17 pt10 – 30 pt
Glyphs · fillglyphFill0.750 – 1The share of cells that carry a glyph.
Glyphs · dispersiondispersion0.060 – 0.25Red and blue split along the slope, like a hologram.
Glyphs · brightnessglyphGain10 – 2

Feel it.

Shape it.

Ship it.

The developer preview is out: one line in Terminal, and it's free for 14 days. Founders get both products and every future update for $97, while the 50 seats last.

Install · 14 days free
curl -fsSL https://prokinetic.app/install.sh | bash

Developer preview, not yet notarized — that's why it installs with a script instead of a .dmg.

For Mac · macOS 26+ · Founders: 14-day money-back guarantee

Become a founder — both included50 seats, until 1.0