<h1 align="center">Nimbus Widget</h1>

## Supported chains:

- EVM
- TON
- SUI

## Installation

### Nimbus Widget

Nimbus Widget is available as an [npm package](https://www.npmjs.com/package/nimbus-universal-swap). Inspired by LiFi widget

**npm:**

```sh
npm install nimbus-universal-swap
```

**yarn:**

```sh
yarn add nimbus-universal-swap
```

## Getting started with Nimbus Widget

Here is an example of a basic app using Nimbus Widget:

```tsx
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}
    />
  );
};
```

## Examples

See [examples](/examples) folder in this repository.

## Changelog

The [changelog](/CHANGELOG.md) is regularly updated to reflect what's changed in each new release.

## License

This project is licensed under the terms of the
[Apache-2.0](/LICENSE.md).
