Skip to content
Sign in
An image of the Stripe logo
Create account
Sign in
Home
Payments
Finance automation
Banking as a service
Developer tools
No-code
All products
Home
Payments
Finance automation
Home
Payments
Finance automation
Banking as a service
Developer tools
Overview
Get started
About Stripe payments
Start an integration
Payment Links
Checkout
Web Elements
    Overview
    Elements
    Address Element
    Payment Element
    Link Authentication Element
    Payment Request Button
    Payment Method Messaging Element
    Other Guides
    Elements Appearance API
Mobile Elements
More scenarios
More payment scenarios
After the payment
Faster checkout with Link
Add payment methods
Other Stripe products
Connect
Terminal
Radar
Financial Connections
Crypto
Identity
Climate
Resources
About the APIs
Implementation guides
Regulation support
Testing
HomePayments

Stripe Web Elements

Create your own checkout flows with prebuilt UI components.

Stripe Elements is a set of prebuilt UI components for building your web checkout flow. It’s available as a feature of Stripe.js, our foundational JavaScript library for building payment flows. Stripe.js tokenizes sensitive payment details within an Element without ever having them touch your server.

Elements features include:

  • Automatic input formatting as customers type
  • Complete UI translations to match your customer’s preferred language
  • Responsive design to fit seamlessly on any screen size
  • Custom styling rules so you can match the look and feel of your site
  • One-click checkout with Link
Get started with Elements
Payment Element
Recommended
Accept a payment with one or multiple payment methods securely, including cards.
Wallet Button Element
Display popular Wallets like Apple Pay and Google Pay.
Link Authentication Element
Recommended
Link auto-fills your customers’ payment and shipping details to reduce friction and deliver an easy and secure checkout experience.
Address Element
Collect address information and display Link saved addresses.
Card Element
Legacy
Build advanced card use cases, with fewer built-in features.

Note

Don’t see your Element here? Find more in the Stripe.js API Reference.

If you plan to use the legacy Card Element, check out a comparison of the Payment Element and Card Element before you begin. The Payment Element is recommended for most integrations.

Customize the appearance of Elements

Pick from prebuilt themes, add your own color and size variables, or adjust individual components for more advanced use cases.

Get started
Was this page helpful?
Need help? Contact Support.
Watch our developer tutorials.
Check out our product changelog.
Questions? Contact Sales.
Powered by Markdoc
You can unsubscribe at any time. Read our privacy policy.
Stripe Shell
Test mode
Welcome to the Stripe Shell! Stripe Shell is a browser-based shell with the Stripe CLI pre-installed. Log in to your Stripe account and press Control + Backtick (`) on your keyboard to start managing your Stripe resources in test mode. - View supported Stripe commands: - Find webhook events: - Listen for webhook events: - Call Stripe APIs: stripe [api resource] [operation] (e.g., )
The Stripe Shell is best experienced on desktop.
$