Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kybernetwork/kyberswap-widgets


https://github.com/kybernetwork/kyberswap-widgets

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# KyberSwap Widgets

The `@kyberswap/widgets` package is an [npm package](https://www.npmjs.com/package/@kyberswap/widgets) of React components used to provide subsets of the KyberSwap Protocol functionality in a small and configurable user interface element.

# KyberSwap Widget

KyberSwap widget provides users of your website with a handy tool for swap tokens at the best rate.

![swap widget screenshot](https://docs.kyberswap.com/assets/images/widget_powered_by_kyberswap-c8e301050927f11aac9f414ded1c88b6.gif)

You can customize the theme (colors, fonts, border radius, and more) to match the style of your application. You can also configure your own default token list and optionally set a convenience fee on swaps executed through the widget on your site.

## Installation

Install the widgets library via `npm` or `yarn`.

```js
yarn add @kyberswap/widgets
```

```js
npm i --save @kyberswap/widgets
```

## Documentation

- [overview](https://docs.kyberswap.com/Aggregator/swap-widget/getting-started)

## Example Apps

- [NextJS](https://github.com/KyberNetwork/kyberswap-widgets/tree/main/examples/nextjs-demo)
- [Vite React App](https://github.com/KyberNetwork/kyberswap-widgets/tree/main/examples/react-demo)