No description
  • TypeScript 98.7%
  • JavaScript 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-10-07 15:30:57 +07:00
.github + Cleanup 2023-10-05 02:27:58 +07:00
e2e fix: sentence case in connect wallet button (#436) 2023-01-24 12:05:04 -05:00
scripts feat: precompile ajv validation (#273) 2022-10-12 22:58:15 -04:00
src + Cleanup 2023-10-07 15:30:57 +07:00
test + Fix Styled components 2023-10-05 14:49:22 +07:00
.babel-plugin-macrosrc.json fix: styled-components macro usage (#5) 2022-05-05 12:55:28 -07:00
.eslintrc.json fix: eslint through package script (#304) 2022-11-18 16:16:43 -08:00
.gitignore build: move crowdin upload/download to release (#306) 2022-11-18 16:17:26 -08:00
.nvmrc fix: e2e tests by downgrading node for now (#131) 2022-08-08 18:20:21 -05:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
.releaserc.json build: strip styled-components dep and DefaultTheme from the bundle (#127) 2022-08-11 10:11:21 -05:00
.snyk build: upgrade universal-router-sdk to support all chains (#330) 2022-12-07 23:50:19 +00:00
.svgrrc.json chore: update metadata 2022-05-02 11:46:54 -07:00
babel.config.js + Cleanup 2023-10-07 13:03:26 +07:00
CONTRIBUTING.md test: rm infura from test fixtures (#327) 2022-12-07 23:58:03 +00:00
cosmos.config.json build: fix cosmos env vars (#27) 2022-06-07 15:45:32 -04:00
hardhat.config.ts fix: use a hardhat jest environment (#20) 2022-05-31 15:30:55 -04:00
jest.config.js + Cleanup 2023-10-07 15:30:57 +07:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
lingui.config.ts build: clean up unused i18n (#522) 2023-03-01 13:35:01 -08:00
package.json v1.0.5 2023-10-07 14:51:23 +07:00
README.md + Fix Styled components 2023-10-05 14:49:22 +07:00
rollup.config.js build: strip styled-components dep and DefaultTheme from the bundle (#127) 2022-08-11 10:11:21 -05:00
tsconfig.build.json + Cleanup 2023-10-07 15:30:57 +07:00
tsconfig.json + Cleanup 2023-10-07 15:30:57 +07:00
webpack.cosmos.js test: rm infura from test fixtures (#327) 2022-12-07 23:58:03 +00:00
yarn.lock + Fix Styled components 2023-10-05 14:49:22 +07:00

Uniswap Labs Widgets Without REDUX

npm Unit tests Integration tests Lint Crowdin

The @nftearth/uniswap-widgets package is an npm package of React components used to provide subsets of the Uniswap Protocol functionality in a small and configurable user interface element.

Uniswap Labs Swap Widget Without REDUX

The Swap Widget bundles the whole swapping experience into a single React component that developers can easily embed in their app with one line of code.

swap widget screenshot

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.

yarn add @nftearth/uniswap-widgets
npm i --save @nftearth/uniswap-widgets

Documentation

Example Apps

Uniswap Labs maintains two demo apps in branches of the widgets-demo repo:

Others have also also released the widget in production to their userbase:

Uniswap Labs encourages integrators to evaluate their own regulatory obligations when integrating this widget into their products, including, but not limited to, those related to economic or trade sanctions compliance.