Velocity UI
Loading…
Component

Interactive Payment Card

A production-ready interactive payment card component for your Next.js application. Accessible, customizable, and built with modern standards.

Interactive Payment Card

3D flipping payment card with metallic chip accents and brand hints. The form panel and card visuals adapt to light and dark via tokens for reliable contrast.

Highlights

  • Pointer‑driven tilt and shine
  • Masked number formatting and basic brand detection
  • Token‑aware form inputs for legibility

Implementation

  • Mount inside a grid with the card and form columns.
  • Call onClick Pay to integrate your checkout.
Where to use
  • Checkout
  • Billing forms
Props
NameTypeDefaultDescription
namestring-Cardholder name.
numberstring-Card number masked.
brandstring-Card brand label (e.g., Visa).
classNamestring-Additional CSS classes.
Context Worth Keeping In Orbit

Most components here are inspired by outstanding libraries and creators in the ecosystem. I don’t claim to be the original author — this is my space for learning, rebuilding, and understanding great work at a deeper level.

I’m still a student of the craft, constantly studying the best and translating what I learn through my own perspective. Every piece reflects curiosity, respect for the community, and small creative touches that feel true to me.

I’ve done my best to credit inspirations properly. If anything is missing or inaccurate, I truly appreciate a message so it can be corrected with care.

Install

Project Init

bash
npx vui-registry-cli-v1 init

Add Component

bash
npx vui-registry-cli-v1 add interactive-payment-card

Details

Tech Used

ReactFramer MotionTailwind CSS