SolanaUI

TokenList

A table of tokens and prices with optional user balances.

TokenMintPrice

Installation

1. Install shadcn/ui table component

Use shadcn/ui CLI or manually install the shadcn/ui table component.

2. Install SolanaUI TokenIcon

TokenList requires the TokenIcon component. Copy the code below to src/components/sol/token-icon.tsx.

3. Install SolanaUI TokenList

Copy the code below to src/components/sol/token-list.tsx.

4. Use TokenList

Import the TokenList component and use it in your app.