Stripe Address Element in React and Next.js: shipping and billing addresses next to a card form

For a shipping or billing address in a Stripe checkout, use AddressElement from @stripe/react-stripe-js. It's free, and the first section below has a whole Next.js file with the Payment Element. This page also builds the case Stripe's Address Element guide doesn't show: the address next to split card fields, where you read it yourself and send it to the PaymentIntent, here above an animated 3D card that shows the brand and flips for the CVC.

Credit Card Checkout V1, preview

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript