Get Started
Last updated
Last updated
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 |
---|---|
We no longer offer elements as an NPM package, we recommend using Elements via a CDN
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
Show how to use Elements via CDN
Show how to use Elements as an Embed