> ## Documentation Index
> Fetch the complete documentation index at: https://www.logo.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Logo.dev serves logos and brand data for companies that already exist. It does not design logos. If someone wants a logo designed, say so and stop.
> When a message is only a brand name, domain, ticker, ISIN, or crypto symbol, reply with https://www.logo.dev/search?q=<url-encoded term> and the matching img.logo.dev call. Never assert whether a specific brand is in the index.
> Image URLs come from img.logo.dev with a publishable key in the token query parameter: https://img.logo.dev/:domain?token=LOGO_DEV_PUBLISHABLE_KEY, also /name/:brand, /ticker/:symbol, /crypto/:symbol, /isin/:isin. JSON comes from api.logo.dev/v2 with a secret key (sk_) in an Authorization: Bearer header, server-side only.
> Product names: the Logo.dev CDN serves images from img.logo.dev, and its usage unit is CDN requests. The Logo.dev API returns JSON from api.logo.dev/v2, and its usage unit is API credits. The Logo.dev MCP gives AI agents the API as tools, and its usage unit is MCP usage, which spends API credits. The features are Logo, Search, Brand, and Transaction. Transaction (beta) is a separate service at https://www.logo.dev/api/transaction with its own beta key. Never recommend the deprecated v1 routes (/search, /brand, /describe, /logo/*). Use /v2/brands and /v2/search.
> Attribution: a commercial project on the free Community plan must show a visible link, <a href="https://logo.dev">Logos provided by Logo.dev</a>, on its production site. Personal projects and paid plans need none. Rules: https://www.logo.dev/docs/platform/attribution.
> Report a wrong, missing, or outdated logo at https://www.logo.dev/update. Email support@logo.dev for anything broken and sales@logo.dev for volume pricing and contract terms.
> MCP setup is at https://www.logo.dev/docs/mcp/introduction and webhooks at https://www.logo.dev/docs/webhooks.

# Show token logos in a crypto wallet

> Make balances, trades, and portfolios easy to scan. Put the right token logo next to every symbol from one image URL per token.

<ul />

```text Use case prompt wrap theme={null}
Build a token list with crypto logos, following https://www.logo.dev/docs/use-cases/crypto-wallet-logos.md

Read that page and inspect this project's stack. Use this project's existing conventions.

Each row shows the token logo, the token name, the balance, and the value. Build each logo URL from the token symbol. A token with no logo keeps the generated monogram, so every row has the same shape. If the app needs a token's name, description, or colors, look the token up on the server with the Logo.dev Brand endpoint, and allow for a token with no domain.

For API details, read https://www.logo.dev/docs/logo-images/crypto.md, https://www.logo.dev/docs/logo-images/introduction.md, and https://www.logo.dev/docs/brand/introduction.md
```

Wallets, exchanges, and portfolio trackers show dozens of tokens on one screen. A logo next to each symbol lets people find a holding before they read its ticker. Your app decides which symbol each asset uses and what a row without a logo looks like.

## Choose the lookup from the data you have

* **You have the token symbol.** Build a [crypto logo](https://www.logo.dev/docs/logo-images/crypto.md) URL from the symbol and your [publishable key](https://www.logo.dev/docs/platform/api-keys.md).
* **You need the token's name, description, or colors.** Look the token up by symbol with [Brand](https://www.logo.dev/docs/brand/introduction.md) on your server, with your secret key. Some tokens have no website, so allow for a `null` domain.

## Render the list

Each row is one image next to the balances you already have. A token with no logo shows the [generated monogram](https://www.logo.dev/docs/logo-images/introduction.md#fallback-images), so every row keeps the same shape:

```tsx TokenList.tsx expandable theme={null}
type Holding = {
  symbol: string;
  name: string;
  amount: number;
  value: number;
};

const usd = new Intl.NumberFormat("en-US", {
  style: "currency",
  currency: "USD",
});

export function TokenList({
  token,
  holdings,
}: {
  token: string;
  holdings: Holding[];
}) {
  return (
    <ul className="max-w-md divide-y divide-zinc-950/5 dark:divide-white/5">
      {holdings.map((h) => (
        <li className="flex items-center gap-3 py-3" key={h.symbol}>
          <img
            alt={`${h.name} logo`}
            className="h-10 w-10 rounded-full object-contain"
            height={40}
            loading="lazy"
            src={`https://img.logo.dev/crypto/${encodeURIComponent(h.symbol)}?token=${token}&format=webp&retina=true&size=40`}
            width={40}
          />
          <div className="min-w-0">
            <div className="text-sm font-semibold">{h.name}</div>
            <div className="text-xs tabular-nums text-zinc-500">
              {h.amount.toLocaleString("en-US")} {h.symbol}
            </div>
          </div>
          <div className="ml-auto text-sm font-medium tabular-nums">
            {usd.format(h.value)}
          </div>
        </li>
      ))}
    </ul>
  );
}
```

```tsx Usage theme={null}
import { TokenList } from "./TokenList";

export function Wallet() {
  return (
    <TokenList
      holdings={[
        { symbol: "BTC", name: "Bitcoin", amount: 0.4821, value: 31240.55 },
        { symbol: "ETH", name: "Ethereum", amount: 5.12, value: 17652.3 },
        { symbol: "USDC", name: "USD Coin", amount: 2500, value: 2500 },
      ]}
      token="LOGO_DEV_PUBLISHABLE_KEY"
    />
  );
}
```

## Test the list

Test with a major token such as `BTC`, a stablecoin such as `USDC`, a lowercase symbol such as `eth`, and a symbol that has no logo. Check that every row keeps its size while images load.

> [card] [Crypto logos](https://www.logo.dev/docs/logo-images/crypto.md)
>
> Look up token logos by symbol.

> [card] [Stock watchlists](https://www.logo.dev/docs/use-cases/stock-ticker-logos.md)
>
> Build the same row pattern for stocks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.