Skip to main content

React App (Web)

caution

The React component is currently in development. We release the below as a preview of our upcoming feature.

One common use case is integrating the component in a native manner. Our widget component is a React component that can be embedded within a larger UI. Like Stripe components, it's designed to be a compressed version of the full UI.

Install our Typescript SDK.

yarn install supercharge-sdk

Create your React Page

components/app.jsx
import React from "react";
import { OnRampIntent, env } from 'supercharge-sdk'

// ...in your React App
<OnRampIntent
apiKey={apiKey}
email={email}
environment={env.STAGING}
partnerLogo={'/your_logo.svg'}
styles={...}
})