Overview of svelte-stripe components
mainThe svelte-stripe library provides a suite of Svelte components to integrate Stripe Elements into your application. It is 100% SvelteKit compatible.
Key components include:
<Elements/>: A wrapper component used to set the Stripe context for child components.<PaymentElement/>: An all-in-one component that allows users to choose their preferred payment method.<Card/>: A composite component containing inputs for card number, expiry, CVC, and zip code.<ExpressCheckout/>: Enables wallet-based payments (Google Pay, Apple Pay, or Link) without leaving the page.<CardNumber/>,<CardExpiry/>,<CardCvc/>: Individual input fields for specific card details.<Iban/>,<Ideal/>: Specialized input fields for IBAN and iDEAL payments.<LinkAuthenticationElement/>: For using saved payment methods via Link.<Address/>: For collecting billing and shipping addresses.