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.
Silver folds on black
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
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.
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.
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
}
}
}
}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
}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.
- 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.
- 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.
- Step 3
Copy Swift
Copy Swift writes your values into
ReceiveFunds.Tuningas 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.
ReceiveFunds(tuning: .init(receivedAt: 2.6,
waveHeight: 16,
refraction: 18))Sequence10 dials
| Dial | Tuned | Range | What it does |
|---|---|---|---|
Count · starts atcountStart | 0.25 s | 0 – 1 s | The 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 atcountLands | 1.95 s | 0.8 – 4 s | The balance reaches the new total here, before the button says Received. |
Count · spring time constantcountTime | 0.3 s | 0.08 – 0.8 s | A critically damped spring drives the count; smaller rushes the start, larger eases in. |
Count · spin blurspinBlur | 2.4 pt | 0 – 6 pt | Digits that spin faster than six changes a second blur by up to this. |
Received line · turns green atlineAt | 1.55 s | 0.5 – 4 s | "incoming" becomes "received" on its shared "+$2,450.75". |
Button · Received atreceivedAt | 2.2 s | 0.8 – 5 s | Receiving… morphs into Received on the shared "Receiv". |
Button · Done atdoneAt | 3.2 s | 1.5 – 6 s | Received becomes Done; Done dismisses the modal. |
Button · morph responsebuttonResponse | 0.45 s | 0.15 – 1 s | The fill, the label and the icon change on this spring: clear glass → green → inverse, and back on a replay. |
Button · morph dampingbuttonDamping | 0.86 | 0.4 – 1 | |
Modal · corner radiuscornerRadius | 38 pt | 16 – 56 pt | Concentric with an iPhone's display corner at a 16 pt inset. |
Canvas2 dials
| Dial | Tuned | Range | What it does |
|---|---|---|---|
Themetheme | Light | Light · Dark | Tuner's canvas only. The appearance the canvas shows. In an app, the block follows Light and Dark. |
Loop · hold Done forholdDone | 1.06 s | 0.4 – 6 s | Tuner's canvas only. The canvas holds Done this long, then winds the modal back to Receiving… in place and plays again. |
Waves12 dials
| Dial | Tuned | Range | What it does |
|---|---|---|---|
Fronts · speedwaveSpeed | 250 pt/s | 80 – 500 pt/s | How fast each front rolls up through the modal. |
Fronts · widthwaveWidth | 62 pt | 20 – 140 pt | The breadth of a front: broad and silky, or a narrow ring. |
Fronts · heightwaveHeight | 12 pt | 2 – 30 pt | Fold height; everything else (silver, light, glyphs) follows the slopes it makes. |
Fronts · countwaveCount | 4 | 1 – 4 | Fronts launched while the money arrives. |
Fronts · launch intervalwaveInterval | 0.62 s | 0.2 – 1.5 s | |
Fronts · fade timewaveDecay | 1.5 s | 0.4 – 4 s | Each front loses height on this time constant. |
Fronts · ripple lengthrippleLength | 150 pt | 60 – 400 pt | The distance between the crests inside a front. |
Fronts · swirlswirl | 26 pt | 0 – 80 pt | Slow noise warps the plane so the fronts lean and swirl like silk. |
Fronts · origin below the modaloriginDrop | 70 pt | 0 – 300 pt | The fronts start this far below the bottom centre. |
Rim · creasescreases | 0.32 | 0 – 1 | Where a front meets the edge the film pinches into small creases. |
Surface · stills fromsettleStart | 2.3 s | 1 – 5 s | The water starts to flatten here (just after Received). |
Surface · settle timesettleTime | 1.2 s | 0.2 – 3 s | A critically damped spring flattens the surface over this long. |
Light7 dials
| Dial | Tuned | Range | What it does |
|---|---|---|---|
Refractionrefraction | 13 pt | 0 – 30 pt | How far the UI bends under a slope. |
Rim · giverimGive | 3 pt | 0 – 10 pt | How far the modal's outline moves with the surface. |
Light · heightlightHeight | 0.3 | 0.05 – 0.7 | Where the soft box above sits: the slope that catches it shows the streak and the glyphs. |
Light · streak widthlightWidth | 0.1 | 0.03 – 0.3 | |
Light · streak brightnessstreak | 0.6 | 0 – 1.5 | |
Silver · sheensheen | 1 | 0 – 2 | The grey-silver of the slopes facing away from the light. |
Folds · shadowfoldShadow | 9 | 0 – 20 | Troughs collect shadow. |
Film2 dials
| Dial | Tuned | Range | What it does |
|---|---|---|---|
Film · pearl tintpearl | 0.26 | 0 – 1 | The thin-film rainbow on the bends. |
Film · driftfilmDrift | 0.25 | 0 – 1 | How fast the film's colours wander. |
Glyphs5 dials
| Dial | Tuned | Range | What it does |
|---|---|---|---|
Glyphs · cell widthglyphWidth | 13 pt | 8 – 24 pt | |
Glyphs · cell heightglyphHeight | 17 pt | 10 – 30 pt | |
Glyphs · fillglyphFill | 0.75 | 0 – 1 | The share of cells that carry a glyph. |
Glyphs · dispersiondispersion | 0.06 | 0 – 0.25 | Red and blue split along the slope, like a hologram. |
Glyphs · brightnessglyphGain | 1 | 0 – 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.
curl -fsSL https://prokinetic.app/install.sh | bashDeveloper preview, not yet notarized — that's why it installs with a script instead of a .dmg.
Read the scriptInstalls to /ApplicationsSHA-256 checkedNotarized build with 1.0
For Mac · macOS 26+ · Founders: 14-day money-back guarantee