Get Started
To use Leap Elements on your dApp, you can either load it using a script tag (via a CDN) or integrate it as an embed (via swapfast.app).
We have outlined the differences below to help you choose the best option for your use case!
Use via CDN | Use as Embed |
---|---|
More configuration options | Less configuration options |
Takes 10 minutes to integrate | Takes 2 minutes to integrate |
Needs you to write some Javascript | Copy-paste an HTML snippet in your site |
We no longer offer elements as an NPM package, we recommend using Elements via a CDN
Last updated