Component packs › Tender › Saved Cards

Saved Cards

Cards sit in a wallet stack; the one you pick slides out of its slot to the front on a spring and the rest settle back.

Saved Cards is a wallet from Tender, a component pack with 6 payment components: Payment components where you watch the money move. Price: $2 for the whole pack.

Built with: wallet stack, default badge, remove drops out.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Saved Cards props

PropTypeDefaultDescription
cardsSavedCard[]
valuestring
defaultIdstring
onChange(id: string) => void
onDefault(id: string) => void
onRemove(id: string) => void
autoplaynumber | falseShowcase mode: picks another card every N ms while visible.

Methods on the ref

Use it in React

import SavedCards from './SavedCards';

<SavedCards />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Tender

Good for: Pricing and payment.