StripeKit includes optional browser-side helpers for Stripe Elements. These are only needed if you plan to use Elements mode in the browser.If you plan to use Stripe Elements in the browser, import the helper:
The Elements helpers are client-side only and never run in Node.js.If you don't need Stripe Elements, you never have to import these helpers. See Stripe Elements details on using it.