Money Send

A phone payment screen confirms Sent to Maya with a receipt. A free, MIT-licensed Remotion product scene.

Installation
$ pnpm dlx shadcn@latest add @remocn/money-send

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { MoneySend } from "@/components/remocn/money-send";
 
const MoneySendScene = () => <MoneySend recipient="Sam Rivera" amount={85} currency="EUR" note="Concert tickets 🎟" />;
 
export const RemotionRoot = () => (
  <Composition
    id="MoneySend"
    component={MoneySendScene}
    durationInFrames={520}
    fps={60}
    width={1280}
    height={720}
  />
);

A phone opens on a keypad where the amount is typed digit by digit, then the note is typed on the keyboard with an emoji picked from the suggestion bar. Send flies the payment off, a progress ring spins, and a Sent confirmation shows a receipt. Pass recipient, amount, currency and note, and lines for the headline beside the phone. It has a theme prop and ships light and dark (dark by default).

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props18

PropTypeDefault
recipient
string"Maya Chen"

Full name; the first name is used in "Sent to …".

amount
number120

Whole amount, typed digit by digit on the keypad.

currency
string"USD"

ISO code, shown in the currency pill. USD, EUR, GBP and JPY get a symbol.

note
string"Dinner 🍜"

Letters are typed on the keyboard; a trailing emoji is picked from the suggestion bar.

lines
[string, string, string]—

Three lines beside the phone: amount, note, sent.

notePlaceholder
string"Add a note"

Placeholder of the note field.

doneLabel
string"Done"

Button on the sent screen.

stagger
number11

Frames between keypad taps as the amount is typed.

accent
string"#3B5BFD"

Accent color for the send button and confirmation.

ink
string—

Text color; overrides the theme ink.

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

fontFamily
string"Hanken Grotesk"

Typeface for the copy. Load the font in your project first.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

speed
number1

Playback speed multiplier.

theme
"light" | "dark""dark"

Light or dark palette.

ground
GshPresetId—

Gradients.sh preset id for the background shader.

groundParams
Partial<GradientParams>—

Overrides for the background shader parameters.

  • recipientstring

    Full name; the first name is used in "Sent to …".

    Default"Maya Chen"

  • amountnumber

    Whole amount, typed digit by digit on the keypad.

    Default120

  • currencystring

    ISO code, shown in the currency pill. USD, EUR, GBP and JPY get a symbol.

    Default"USD"

  • notestring

    Letters are typed on the keyboard; a trailing emoji is picked from the suggestion bar.

    Default"Dinner 🍜"

  • lines[string, string, string]

    Three lines beside the phone: amount, note, sent.

  • notePlaceholderstring

    Placeholder of the note field.

    Default"Add a note"

  • doneLabelstring

    Button on the sent screen.

    Default"Done"

  • staggernumber

    Frames between keypad taps as the amount is typed.

    Default11

  • accentstring

    Accent color for the send button and confirmation.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Hanken Grotesk"

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier.

    Default1

  • theme"light" | "dark"

    Light or dark palette.

    Default"dark"

  • groundGshPresetId

    Gradients.sh preset id for the background shader.

  • groundParamsPartial<GradientParams>

    Overrides for the background shader parameters.