Plug & play
Drop one container into any site, from static landing pages to complex apps.
- Auto-initialises with your app code
- Responsive layouts for desktop & mobile
Spin up a conversational agent with wallet superpowers in minutes. Customise the palette, connect wallets, and embed the widget anywhere your users need guided assistance.
npm i @aomi-labs/widget-lib
Environment-aware: the widget reads VITE_AOMI_BACKEND_URL. Override locally with
?backend=<url>.
Drop one container into any site, from static landing pages to complex apps.
Pick from curated presets or pass a custom palette to match your product language.
Connect to any EIP-1193 provider to authorise actions, sign payloads, and read balances inline.
Install the package from npm:
npm install @aomi-labs/widget-lib
Add the widget to your page or framework component:
import { createChatWidget } from '@aomi-labs/widget-lib';
const widget = createChatWidget('#support-chat', {
appCode: 'docs-demo',
baseUrl: import.meta.env.VITE_AOMI_BACKEND_URL,
theme: 'light',
onReady: () => console.log('Aomi ready'),
});
VITE_AOMI_BACKEND_URL in your build environment (Vercel → Project Settings).onMessage, onError, and the wallet helpers.npm run build and output dist.
Grab the widget, point it at your backend, and delight users with a branded conversational experience.