Opal: Liquid Morph Pay Checkout
A compact checkout card for React whose Pay button morphs into a liquid token, ripples across the card, verifies with a progress ring and unlocks into an order-confirmed receipt.
Try it live
The real demo, running in a sandbox. Switch the screen size to see how it adapts.
About this item
Opal turns the moment of payment into a single continuous animation. Tap Pay Now and the button shrinks into a glossy token, flies to the centre and sends ripples across the card as it switches to a dark verification mode. A gradient ring fills to 75 %, a padlock pops open, the ring completes in green and a tick lands before the card settles into an "Order Confirmed" receipt.
Eight-stage motion choreography
Press, shrink, ripple, verify, unlock, check, reveal and confirm are modelled as explicit steps with shared-layout transitions (Framer Motion layoutId), so the button genuinely becomes the token instead of being swapped out.
A real payment-method picker
Tap the "Pay with" row to open a payment-methods panel with card, Google Pay and Apple Pay options and an inline card form that expands when card is selected.
Features
- ✓Pay button that morphs into a liquid token (shared layout animation)
- ✓Expanding ripple rings across the card
- ✓Light-to-dark mode switch during verification
- ✓Animated gradient progress ring with live percentage
- ✓Lock, unlock and check icon transitions
- ✓Order-confirmed receipt screen with staggered entrance
- ✓Payment-method panel: card, Google Pay, Apple Pay
- ✓Inline card form with expand/collapse
- ✓Order summary and amount sections
- ✓Replay/reset support built into the state machine
What's included
Full JavaScript source code,package.jsonwith locked dependencies, Vite config, RVT.ai README with setup and customisation guide,LICENSEandTHIRD-PARTY-NOTICES.md. Nonode_modules: runnpm installonce.
Requirements
Node.js 20.19+ and npm 10+ to develop and build. The production build is static HTML, CSS and JavaScript that runs on any static host. No backend, API keys or paid services required.
Perfect for
- Mobile and web checkouts
- Wallet top-ups and peer-to-peer payments
- Subscription confirmation screens
- Dribbble-style motion showcases
From download to production
- Download Opal: Liquid Morph Pay Checkout from your account and unzip it.
- Run
npm install, thennpm run devto open it locally. - Swap in your brand colours, copy and data (see the README customisation guide).
- Run
npm run buildand deploy thedist/folder to any static host.
Support and updates
Includes free updates and six months of RVT.ai support. Ask pre-purchase questions in the product Q&A, or open a ticket at https://rvt.ai/support with your order number.
Choose the license for your project
A Regular license covers a single end product that is not sold to end users. Choose Extended for a single end product that is sold to end users, including SaaS products and paid applications. Review the full license terms before checkout.
Features
- Pay button that morphs into a liquid token (shared layout animation)
- Expanding ripple rings across the card
- Light-to-dark mode switch during verification
- Animated gradient progress ring with live percentage
- Lock, unlock and check icon transitions
- Order-confirmed receipt screen with staggered entrance
- Payment-method panel: card, Google Pay, Apple Pay
- Inline card form with expand/collapse
- Order summary and amount sections
- Replay/reset support built into the state machine
Files included
- Full source code (React + Vite)
- README.md
- LICENSE (RVT.ai)
- THIRD-PARTY-NOTICES.md
- package.json + package-lock.json
Version 1.0.0 and changelog
Version 1.0.0
Initial RVT.ai release.