
Description
stripe-pwa-elements is a framework-agnostic set of Stripe payment components built with Web Components. It turns Stripe's payment UI into HTML elements, so the same code works with React, Vue, Angular, Svelte or plain HTML. The README describes a card element for the card number, expiry and CVC with a PaymentIntent confirm flow, a billing address form, and Apple Pay, Google Pay and Link, which depend on the device. A live demo runs in CodeSandbox in Stripe test mode, so you can try the components without setup or API keys. The README compares the amount of code needed with raw @stripe/stripe-js and notes that the older @stripe-elements/stripe-elements package is deprecated and superseded. The library powers the web implementation of the @capacitor-community/stripe plugin, which the README says receives thousands of weekly downloads.…
Highlights
- Stripe payment components as Web Components
- Works with React, Vue, Angular, Svelte and plain HTML
- Card, billing address and wallet options
- Test-mode CodeSandbox demo
- Replaces the deprecated stripe-elements package
Ratings & Reviews
No ratings yet
Be the first to rate stripe-pwa-elements.
People also visit
react-payment-inputs
A zero-dependency React Hook & Container to help with payment card input fields
react-svg-credit-card-payment-icons
React components library with 6 styles, 108 icons, TypeScript support
react-payment-logos
React components library to display logos of major payment brands and methods

react-payment-inputs
A React Hook & Container to help with payment card input fields
stripe-pwa-elements FAQ
What is stripe-pwa-elements?
A set of Stripe payment components built as Web Components, usable from any web framework.
How do I try it first?
Open the CodeSandbox demo, which uses Stripe test mode and needs no API keys.
Does it support Apple Pay and Google Pay?
The README lists Apple Pay, Google Pay and Link, which are available depending on the device.
Which package does it replace?
The older @stripe-elements/stripe-elements package, which the README says is deprecated.
What are the best stripe-pwa-elements alternatives?
Popular alternatives to stripe-pwa-elements include react-credit-cards, react-payment-inputs and react-svg-credit-card-payment-icons. See all stripe-pwa-elements alternatives














