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

@varity-labs/ui-kit

v2.0.0-alpha.1

Published

Web3 React component library for Varity L3 - Smart wallets (ERC-4337), gasless transactions, multi-chain support

Readme

@varity/ui-kit v2.0.0

Public Frontend SDK for Varity - Industry-Specific AI Dashboard Deployment

Complete toolkit for deploying industry-specific AI dashboards to Varity L3 blockchain with template deployment, storage layers, and compliance features.

Status:ALL BLOCKERS RESOLVED - Ready for End-to-End Testing (Jan 24, 2026)

What's Working (Varity L3 - Chain ID 33529)

  • PrivyStack - Zero-config auth with email/social/wallet login
  • SmartWalletProvider - Gasless transactions (ERC-4337) - FULLY IMPLEMENTED
  • WalletSyncProvider - Seamless Privy ↔ thirdweb wallet sync
  • OnrampWidget - Credit card to USDC conversion
  • All smart contracts deployed - Revenue split, App Store, Paymaster, Wallet Factory

Installation

npm install @varity/ui-kit
# or
pnpm add @varity/ui-kit
# or
yarn add @varity/ui-kit

🎯 Which Provider Should I Use?

90% of apps: Use PrivyStack (zero-config auth + wallet + blockchain)

import { PrivyStack } from '@varity/ui-kit';

<PrivyStack>
  <YourApp />
</PrivyStack>

Need gasless transactions? Add SmartWalletProvider

import { PrivyStack, SmartWalletProvider } from '@varity/ui-kit';
import { createThirdwebClient } from 'thirdweb';
import { varityL3Testnet } from '@varity/sdk';

const client = createThirdwebClient({
  clientId: process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID!
});

<PrivyStack>
  <SmartWalletProvider
    config={{
      client,
      chain: varityL3Testnet,
      gasless: { enabled: true }
    }}
  >
    <YourApp />
  </SmartWalletProvider>
</PrivyStack>

Building dashboards? Use VarityDashboardProvider (includes Wagmi + React Query)

import { VarityDashboardProvider } from '@varity/ui-kit';

<VarityDashboardProvider
  privyAppId={process.env.NEXT_PUBLIC_PRIVY_APP_ID}
  thirdwebClientId={process.env.NEXT_PUBLIC_THIRDWEB_CLIENT_ID}
>
  <Dashboard />
</VarityDashboardProvider>

📚 See Provider Guide for complete decision tree and migration paths.

Quick Start

import { VarityClient } from '@varity/ui-kit'

// Initialize client
const client = new VarityClient({
  apiEndpoint: 'https://api.varity.io',  // or staging/development
  apiKey: 'your-api-key'
})

// Deploy industry-specific dashboard
const deployment = await client.templates.deployTemplate({
  industry: 'finance',
  templateId: 'finance-basic',
  customization: {
    branding: {
      companyName: 'Acme Finance',
      primaryColor: '#1E40AF',
      darkMode: true
    }
  },
  storageLayer: 'layer3',
  deploymentType: 'production'
})

// Use any module
const kpis = await client.analytics.getKPIs({ period: 'current_month' })
const aiResponse = await client.compute.query('Analyze my financial data')

Features

🔌 Web3 Provider Stack (NEW in v2.0)

Zero-config React providers for Web3 apps:

  • PrivyStack - Auth (email/social/wallet) + thirdweb integration
  • SmartWalletProvider - Gasless transactions (ERC-4337)
  • VarityDashboardProvider - Full-featured dashboards (Wagmi + React Query)
  • WalletSyncProvider - Seamless Privy ↔ thirdweb wallet sync

🎯 Template Deployment System

Deploy pre-configured industry-specific dashboards to Varity L3:

  • Finance - Banking, compliance, transactions, risk management
  • Healthcare - HIPAA compliance, patient data, medical operations
  • Retail - E-commerce, inventory, supply chain
  • ISO Merchant - Payment processing, PCI compliance

🔐 3-Layer Encrypted Storage Architecture

  • Layer 1 - Varity internal documentation (Varity admins only)
  • Layer 2 - Industry RAG knowledge base (shared across industry)
  • Layer 3 - Customer-specific data (private, customer-only access)
  • ALL layers encrypted with Lit Protocol

🔌 13 Module Clients

All operations via secure REST API:

  • auth - SIWE authentication
  • storage - Filecoin/IPFS file storage
  • compute - AI/LLM on Akash Network
  • zk - Zero-knowledge ML proofs
  • analytics - Business analytics
  • notifications - Email/SMS/push notifications
  • export - CSV/JSON/PDF data export
  • cache - Redis caching
  • monitoring - System health & metrics
  • forecasting - Predictive analytics
  • webhooks - Webhook management
  • oracle - Oracle data feeds
  • templates - Industry dashboard deployment (NEW)

🎨 React Industry Templates

  • <FinanceDashboard /> - Financial services dashboard
  • <HealthcareDashboard /> - Healthcare operations dashboard
  • <RetailDashboard /> - Retail & e-commerce dashboard
  • <ISODashboard /> - ISO merchant services dashboard

API Reference

Authentication

// Login with SIWE
const { token } = await client.auth.login(message, signature)

// Get user profile
const user = await client.auth.me()

Storage

// Upload file
const { cid } = await client.storage.uploadFile(file)

// Pin content
await client.storage.pinCID(cid)

AI Compute

// Simple query
const response = await client.compute.query('What are the trends?')

// RAG query
const response = await client.compute.queryRAG({
  query: 'Analyze customer behavior',
  knowledgeBase: 'my-knowledge-base'
})

Analytics

// Get KPIs
const kpis = await client.analytics.getKPIs({
  period: 'current_month'
})

// Get trends
const trends = await client.analytics.getTrends({
  startDate: '2025-01-01',
  endDate: '2025-01-31'
})

Documentation

Provider Guides

Integration Guides

Component Reference

Security

This SDK is PUBLIC and safe to distribute. It contains:

  • ✅ React components
  • ✅ API client (HTTP only)
  • ✅ TypeScript types
  • ❌ NO smart contract logic
  • ❌ NO DePIN orchestration
  • ❌ NO encryption keys
  • ❌ NO business logic

All sensitive operations are handled by the Varity API Server.

License

MIT License - Safe for commercial use and redistribution

Support

  • Documentation: https://docs.varity.com
  • Discord: https://discord.gg/varity
  • Email: [email protected]

Powered by Varity 🚀