@avail-project/widgets
v2.0.2
Published
Compiled Avail widgets for React applications.
Keywords
Readme
@avail-project/widgets
Public npm distribution for Avail widgets.
Install from npm:
pnpm add @avail-project/widgetsFor internal GitHub installs, the package runs its prepare script and builds dist after clone:
pnpm add github:availproject/widgetsimport { NexusProvider, NexusWidget } from "@avail-project/widgets";
export function App() {
return (
<NexusProvider config={{ network: "mainnet", debug: false }}>
<NexusWidget config={{ mode: "swap" }} />
</NexusProvider>
);
}The shadcn registry remains the open source code-install path. Until the namespace is listed in shadcn, install with:
npx shadcn@latest add availproject/widgets/nexus