Skip to content
caliper ui pro docs

Crypto wallet

Balances, assets and recent transfers for a wallet.

Pro

Total balance

$10,822.00

  • Ether

    2.4 ETH

    $5,952.00

    ▲ 2.3% in 24 hours

  • USD Coin

    1520 USDC

    $1,520.00

    ▲ 0.0% in 24 hours

  • Wrapped Bitcoin

    0.05 WBTC

    $3,350.00

    ▼ 1.4% in 24 hours

Activity

  • Received from 0x9a3f…d9ef

    Today, 09:12 · Confirmed

    +0.5 ETH
  • Sent to 0x5be1…06b3

    Yesterday · Confirmed

    −200 USDC

When to use

  • Showing what a user holds and moved.

When not to use

  • The balances are not final.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/crypto-wallet

Adds its 7 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

CryptoWallet

4 props
PropTypeDefault
assets *readonly WalletAsset[]—
activity *readonly WalletActivity[]—
onSend *(symbol: string, to: string, amount: number) => Promise<string | void>—
classNamestring—

Keyboard

  • Keyboard and focus come from Radix dialog, popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

Accessibility

It exposes status and alert semantics, with aria-label, aria-pressed, aria-hidden, aria-labelledby and aria-invalid kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/crypto-wallet.md

The index of every part is at /llms.txt.

More in Markets