Installation
1. Install shadcn/ui popover and command components
Use shadcn/ui CLI or manually install the shadcn/ui popover and shadcn/ui command components.
2. Install SolanaUI TokenIcon
TokenCombobox requires the TokenIcon
component. Copy the code below to src/components/sol/token-icon.tsx
.
3. Install SolanaUI TokenCombobox
Copy the code below to src/components/sol/token-combobox.tsx
.
4. Use TokenCombobox
Import the TokenCombobox
component and use it in your app.