VueJS Installation

You need to enable React component in Vue using veaury library because the Native main widget is written in React. There's little to no drawback to this method. However, we will still make a native VueJs library soon, so stay tuned.


npm install --save @native_org/widgets veaury


    <NativeSwapWidget apiKey="API_KEY" />

import { applyPureReactInVue } from "veaury";
import NativeSwapWidget from "@native_org/widgets";

export default {
  components: { NativeSwapWidget: applyPureReactInVue(NativeSwapWidget) },

To install the widget you need an API key. Please follow these steps to acquire one.


Follow the Customisation Guide to customize your widget such as theme, supported chains, external wallet provider, etc.

Last updated