This guide is for hooks only, as the Dynamic Widget UI component already displays the wallets for you and allows you to connect to them.
useWalletOptions allows you to prompt the user to connect using a specific wallet (by passing in the key).
import { useWalletOptions } from "@dynamic-labs/sdk-react-core";

// component setup etc.

const { selectWalletOption } = useWalletOptions();

const connectWithWallet = async (walletKey) => {
  return await selectWalletOption(walletKey)
}
You can dynamically find the available wallet keys in walletOptions or all the supported wallet keys either from wallet-book (object keys in groups or wallets) or in the chains pages in the dashboard.