
Products fly into the cart as discs; open it and they unfold into line items.
Payment moments with some life in them: a 3D card that fills in as you type, a card that turns into a receipt, a cart drawer things fly into.

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

Your card becomes the receipt: it splits, unrolls into paper and gets stamped PAID.

A live 3D card that fills in as you type and flips for the CVC.
These are front-end components for the moment someone pays or adds to cart. The card components animate a card as the buyer types. For real payments, Stripe Elements, PayPal Card Fields or Adyen's Custom Card fields sit inside the design through a slot, so card numbers go straight to the payment provider and never reach your backend.
Each one comes as React (TypeScript, Tailwind CSS, Framer Motion) and as a single HTML file. Use them on a demo, a landing page or a real store.
Want all of them? The Shelf has every component in the catalogue in one download.
Hooking the cart or the card form up to your store or payment provider? Guides with the code for Shopify, Medusa, Stripe Checkout, Dodo Payments, Creem, the Stripe Checkout success page, a shadcn checkout page with the Payment Element, Braintree Hosted Fields, VGS Collect.js card fields, Chargebee subscriptions, Stripe Embedded Checkout, Stripe Express Checkout Element, Square Web Payments SDK.
Moving off an older package? Guides for react-credit-cards, react-stripe-checkout, react-input-mask, a Vaul cart drawer, Stripe's pricing table embed, a shadcn Sheet cart and react-braintree-fields.
No. They are the interface. Payment processing stays with your provider. Stripe Elements go in the card components' renderCardFields slot, and you confirm the payment in onConfirm.
Yes. Colours are CSS variables or Tailwind classes, and amount and currency are props.
From the blog: Animated Pricing Cards in Tailwind Without Framer Motion