https://github.com/kybernetwork/kyberswap-widgets
https://github.com/kybernetwork/kyberswap-widgets
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kybernetwork/kyberswap-widgets
- Owner: KyberNetwork
- Archived: true
- Created: 2022-09-08T08:13:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T03:10:57.000Z (over 1 year ago)
- Last Synced: 2025-06-23T12:03:32.099Z (about 1 year ago)
- Language: TypeScript
- Size: 107 MB
- Stars: 5
- Watchers: 4
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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.

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)