- EVM
- TON
- SUI
Nimbus Widget is available as an npm package. Inspired by LiFi widget
npm:
npm install nimbus-universal-swap
yarn:
yarn add nimbus-universal-swap
Here is an example of a basic app using Nimbus Widget:
import { NimbusSwapWidget, WidgetConfig } from 'nimbus-universal-swap';
const widgetConfig: WidgetConfig = {
theme: {
container: {
border: '1px solid rgb(234, 234, 234)',
borderRadius: '16px',
},
},
};
export const WidgetPage = () => {
return (
<NimbusSwapWidget
integrator="Your dApp/company name"
config={widgetConfig}
/>
);
};
See examples folder in this repository.
The changelog is regularly updated to reflect what's changed in each new release.
This project is licensed under the terms of the Apache-2.0.