React/NextJs Installation

Installing the React or NextJs component

Installation

npm install --save @native_org/widgets

Usage

import SwapWidget from '@native_org/widgets';

const App = () => {
  return (
    <SwapWidget apiKey="API_KEY" />
  )
}

To install the widget you need an API key. Please follow these steps to acquire one.

Customization

Follow the Customisation Guide to customize your widget such as theme, supported chains, external wallet provider, etc.

Last updated