Vue Stripe Playground

StripeElements Component

Creates a Stripe Elements instance and provides it to child element components. Must be used within a StripeProvider.

View full documentation →

Test Scenarios

Client Secret (Optional)

For Payment Element, you need a clientSecret from a PaymentIntent. For Card Element, clientSecret is not required on StripeElements.

No client secret provided (optional for CardElement)

Live Demo

Event Log

No events yet. StripeElements doesn't emit events directly - use useStripeElements() to access state.
Vue Stripe Playground