Catalogue
Receipt Morph Checkout, preview

Live. Click, drag or type.

A full dark checkout page with a live card that types along, shows the brand and flips for the CVC. On pay the card lifts, a lime arc closes around it while it authorises, then it splits along the middle and unrolls into a paper receipt: items tick in, the total counts to $248.00 and a PAID stamp slams down with a shockwave. The inputs are real, with a Luhn check and decline handling.

Install

  1. One commandnpx shadcn@latest add "https://qodesign.dev/r/checkout-card.json?key=YOUR_KEY"Your key comes with the order. Works in any shadcn project, Next.js App Router included.
  2. Or copy it inThe zip has react/src/components, ready for Next.js ("use client" included).
  3. Or ask your AIPaste PROMPT.md into Cursor, Lovable or v0.

Production use

The built-in card inputs are for the demo and tests. For real payments, keep this piece as the design and let Stripe collect the card, so card numbers never reach your server.

renderCardFields puts Stripe Elements (or the Payment Element) inside the design. The card still shows the brand and flips for the CVC. onConfirm runs on Pay with no card data, and you call stripe.confirmCardPayment there.

<CheckoutReceiptMorph order={cart} renderCardFields={(slot) => <StripeCardFields onChange={slot.onChange} />} onConfirm={async ({ name }) => confirmWithStripe(name)} // { ok: true } />

The README has the full Stripe wiring, server route included, and PROMPT.md tells Cursor, Lovable or v0 to set it up that way.

What it does

  • Live card: types along, brand detection, CVC flip
  • Card splits and unrolls into the receipt, PAID stamp
  • Full checkout page with mock order (USD)
Stack
React · Framer Motion · HTML version
Released
Licence
Personal and client projects. Licence

Using Cursor, v0 or Lovable?

How do I add Receipt Morph Checkout to a Next.js app I build with Cursor?

After checkout your account shows a one-line shadcn install with your licence key; run it in the project, or copy the React file from the zip into your components folder. The file already starts with "use client", so it works in the App Router. If the project does not have framer-motion yet, add it, because the motion runs on it. Then open the agent chat and paste the first prompt from the PROMPT.md that comes with it: Cursor reads the component and fits it to your data, colors and file layout instead of rewriting it.

Does Receipt Morph Checkout work in v0?

Yes. Install it in your v0 project with the same shadcn command, or paste the component source into the chat. Then paste the first prompt from PROMPT.md so v0 wires it into your page and keeps the animation as it is.

Can I use Receipt Morph Checkout in a Lovable project?

Yes. Lovable apps are React, TypeScript and Tailwind, the same stack as the React version. Sync the project to GitHub and add the file there, or paste the source into the Lovable chat and ask it to add the component, then paste the first prompt from PROMPT.md.

Can I try it before I add it?

Yes. The preview at the top of this page is the real component running, not a video, so you can click through it first. If you want to start with something free, the free kit at qodesign.dev/free has open-source pieces and copy-paste prompts for Cursor, v0 and Lovable.

Step by step: Cursor, v0, Lovable. Start free: the free kit

Build it yourself: How to build a checkout page in Next.js and Tailwind

Reviews

No reviews yet for this piece.

Only people who got it can review it: the order email has a rating link, one review per order.

Keep browsing

Stack Cart Drawer, animated preview

Products fly into the cart as discs; open it and they unfold into line items.

Command-K Dashboard, animated preview

A whole SaaS app you drive from ⌘K: rows stretch into pages, coins fly into the total.

Not ready to buy? Try the free kit