Integrate Stargate now

Embed the Stargate Transfer module in any web application, giving users instant ability to swap native assets cross-chain, accessing Stargate’s unified liquidity pools
Effortless WidgetGreat User Experience
Light mode
Dark mode

Custom element

The recommended way to use a widget in your application is to use a prepared customElement. To do this, import the widget file like any other javascript file in your HTML:
<script
  src="https://unpkg.com/@layerzerolabs/stargate-ui@latest/element.js"
  defer
  async>
</script>
The theme the stargate-widget can be modified by setting its attributes.
<stargate-widget theme="light" />

Custom themes are also supported - see example how to create a custom theme

Security

The scripts checksum can be found in the element.js.sha384 file.
More details in the NPM repository.
Transfer