@power-elements/stripe-elements

Web Component wrapper for stripe elements

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@power-elements/stripe-elements
69133.3.07 months ago4 years agoMinified + gzip package size for @power-elements/stripe-elements in KB

Readme

Stripe Elements Web Components
๐Ÿ›กโš›๏ธ๐Ÿ”ฐ Any Framework - One Stripe Integration. ๐Ÿ’ฐ๐Ÿ’ต๐Ÿ’ธ
Published on npm Published on webcomponents.org made with open-wc Maintainability Test Coverage Release Contact me on Codementor
๐Ÿ‘จโ€๐ŸŽจ Live Demo ๐Ÿ‘€

๐Ÿšš Installation

You should make sure to load stripe.js on your app's index.html, as per Stripe's recommendation, before loading <stripe-elements>. If window.Stripe is not available when you load up the component, it will fail with a reasonably-polite console warning.
<script src="https://js.stripe.com/v3/"></script>

npm i -S @power-elements/stripe-elements

<stripe-elements> is a community project.

๐Ÿ“š API Docs

Learn how to use Stripe Elements web components in the docs