Installing the Widget
Preparing to integrate the widget into your app
If you have any questions along the way, please contact us on our Discord in the ⛓│developers channel.
Installation
Install the Squid Widget npm package:
npm i @0xsquid/widget
or
yarn add @0xsquid/widget
Note: to install the V2 widget, you can install the latest version
yarn add @0xsquid/[email protected]
Add the widget to a page
<SquidWidget config={{
integratorId: "<partner-id>",
// ... Other config options, such as theme, titles, etc.
}} />
Further installation guides
If you're not using React, please follow the Iframe installation guide
If you’re using React, please follow the React installation guide
If you're using NextJS, start with the NextJS installation guide
Last updated