Vue Stripe Playground
StripeElements Component
Creates a Stripe Elements instance and provides it to child element components. Must be used within a StripeProvider.
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
No Stripe key configured. Click "Add Key" in the header above.
Event Log
No events yet. StripeElements doesn't emit events directly - use useStripeElements() to access state.