Motionshelf
← All components

Commerce

Payment Notification

A payment lands on the lock screen, the app opens and the amount counts up.

Install

npx shadcn@latest add https://motionshelf-pi.vercel.app/r/payment-notification.json

Copies the file into your project. Requires React 19, Tailwind CSS v4 and GSAP (installed as a dependency).

Props

NameTypeDefaultDescription
amountnumber150Amount the counter climbs to.
currencystring"USD"ISO 4217 currency code.
localestring"en-US"Locale used to format the amount.
senderstring"Alex M."Who sent the payment.
referencestring"Order #1042"What the payment was for.
titlestring"Payment received"Notification title.
appNamestring"Bank"App name shown on the notification.
timestring"14:02"Clock on the lock screen.
datestring"Saturday, October 18"Date line under the clock.
accentstring"#1f5bff"Color of the app icon and the check.
loopbooleantrueReplay forever with a pause between runs.
classNamestring""Extra classes for the outer element.

Dependencies

  • gsap
  • @gsap/react