⚡ ZapKit
Components

Components

ZapKit ships a set of copy-paste React components distributed as a shadcn registry. Instead of importing from a package, you install components directly into your project — giving you full ownership and the freedom to customise.

Installation

Use the shadcn CLI to add any component:

npx shadcn@latest add "https://zapkit.vercel.app/r/<component-name>.json"

The CLI will:

  1. Copy the component source into your project
  2. Install required shadcn primitives (button, card, tooltip, etc.)
  3. Install npm dependencies (@dngbuilds/zapkit-react, etc.)

Available components

Connect

ComponentTypeDescription
ConnectWalletButtonComponentSmart button handling the full connect / disconnect lifecycle
AddressBadgeComponentTruncated address badge with tooltip & copy-on-click
NetworkBadgeComponentColored badge for mainnet / sepolia / devnet
WalletCardBlockCard showing address, network, balances & disconnect

Common

ComponentTypeDescription
TokenAmountComponentFormatted token amount with optional USD tooltip
TransactionStatusComponentInline alert for pending / confirmed / failed transactions

On this page