useWalletUiWallets
The useWalletUiWallets hook provides a list of all wallets that have been detected by the Wallet Standard.
This hook is useful when you want to build a custom UI that lists all the available wallets.
import { useWalletUiWallets } from '@wallet-ui/react';
function WalletList() { const wallets = useWalletUiWallets();
return ( <div> <h2>Available Wallets:</h2> <ul> {wallets.map(wallet => ( <li key={wallet.name}>{wallet.name}</li> ))} </ul> </div> );}Return Value
Section titled “Return Value”The hook returns an array of UiWallet objects.
export type UiWallet = Readonly<Wallet>;The Wallet interface is defined by the Wallet Standard.