npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

arkada-widgets

v1.0.5

Published

Production-ready widget library for the Arkada ecosystem. Widgets are available as standard React components and as self-contained Web Components for framework-agnostic embedding.

Readme

arkada-widgets

Production-ready widget library for the Arkada ecosystem. Widgets are available as standard React components and as self-contained Web Components for framework-agnostic embedding.

Live Demo →
GitHub

Table of Contents


Installation

npm install arkada-widgets

Usage

React

import { WalletVerificationButton, VerifyWalletVariants } from "arkada-widgets";

export function App() {
  return (
    <WalletVerificationButton
      walletAddress="0xYourWalletAddress"
      theme="dark"
      variant={VerifyWalletVariants.COMPACT}
    />
  );
}

Props:

| Prop | Type | Default | Description | | --------------- | --------------------- | ----------- | ------------------------------------------------- | | walletAddress | string | — | Wallet address to check | | theme | "dark" \| "light" | "dark" | Color theme | | variant | VerifyWalletVariant | "compact" | Visual layout | | referralCode | string | — | Appended as ?ref=<code> to the verification URL | | someVerified | boolean | — | Verified if any network has rank > 0 |


Web Component (Vue, Angular, Svelte, etc.)

Import once to register the custom element — no React needed in your project:

import "arkada-widgets/arkada-wvbs-widget";

Vue:

<template>
  <arkada-wvbs-widget
    :data="JSON.stringify({ walletAddress: '0xYourWalletAddress' })"
    theme="dark"
  />
</template>

Angular — add CUSTOM_ELEMENTS_SCHEMA to the module, then import in the component:

import "arkada-widgets/arkada-wvbs-widget";
<arkada-wvbs-widget [attr.data]="props" theme="dark"></arkada-wvbs-widget>

Svelte:

<script>
  import 'arkada-widgets/arkada-wvbs-widget'
  const props = JSON.stringify({ walletAddress: '0xYourWalletAddress' })
</script>

<arkada-wvbs-widget data={props} theme="dark" />

Attributes:

| Attribute | Type | Default | Description | | --------- | ------------------- | -------- | ------------------------------- | | data | JSON string | — | Widget config (see shape below) | | theme | "dark" \| "light" | "dark" | Color theme | | size | "sm" \| "lg" | "lg" | Widget size |

data JSON shape:

{
  "walletAddress": "0x...", // required
  "variant": "compact", // optional — visual layout
  "referralCode": "MYREF", // optional
  "someVerified": false, // optional
}

You can also set data as a JS object to skip JSON serialization:

document.querySelector("arkada-wvbs-widget").data = { walletAddress: "0x..." };

Plain HTML

No build step — load the script from a CDN:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
  </head>
  <body>
    <arkada-wvbs-widget
      data='{"walletAddress":"0xYourWalletAddress","variant":"compact"}'
      theme="dark"
    ></arkada-wvbs-widget>

    <script
      type="module"
      src="https://cdn.jsdelivr.net/npm/arkada-widgets/dist/arkada-wvbs-widget.js"
    ></script>
  </body>
</html>

Widgets (Start Here)

Widget docs are prioritized for integrators:

  • WalletVerificationButton docs: ./docs/widgets/wallet-verification-button.md

TypeScript

All types are included. No @types/ package needed.

import type {
  WalletVerificationButtonProps,
  VerifyWalletVariant,
} from "arkada-widgets";

import { VerifyWalletVariants } from "arkada-widgets";

Troubleshooting

The button always shows "unverified"

  • Check the browser network tab — is GET /public/wallet/status/{address} being called?
  • Verify ARKADA_PUBLIC_API_URL is set correctly and the API is reachable.
  • Check the browser console for a [WalletVerificationButton] warning (visible in development builds).

Web component is not rendering

  • Confirm the script is loaded with type="module" before the custom element is used.
  • Confirm data attribute is valid JSON with a walletAddress key.
  • Custom elements require a browser that supports Web Components (all modern browsers).

React version mismatch

  • The package requires React 18 or 19 as a peer dependency. Run npm ls react to confirm the installed version.