Install @swing.xyz/ui

Using your favorite package manager, install the @swing.xyz/ui library into project.

yarn add @swing.xyz/ui

You can find the latest version of the library on the npmjs.com page.

Usage

Example Templates

Interact with a demo and copy some code to jumpstart your cross-chain development.

Swap Widget

Enable cross-chain swaps on your website or app with the Swap widget.

Staking Widget

Enable cross-chain staking on your website or app with the Staking widget.

Gas Widget

Allow your users to obtain gas tokens from any token using the Gas widget.