[Feature Request]: Custom Account Modal #1428
Replies: 4 comments 4 replies
-
@webthethird What would you like to see in a custom account modal? Can you describe an example or show a mockup and share what the expected API could look like? We likely couldn't support arbitrary UI injection, but maybe could expose props to hide/show elements. In most cases, building custom UI will better serve your needs. RainbowKit shares states with Wagmi, so you could recreate the copy address and disconnect behavior with these hooks: const { address } = useAccount()
const { disconnect } = useDisconnect() |
Beta Was this translation helpful? Give feedback.
-
That is a great start |
Beta Was this translation helpful? Give feedback.
-
I was having the same idea, we could provide more options for UI components after the user connects. I am using a zerodev/wagmi/rainbowkit account abstraction solution to onboard more casual users who aren't crypto native. I would like to see more features that will help non-crypto users navigate their wallets. To add to the list of possible features... |
Beta Was this translation helpful? Give feedback.
-
Hello, are there any updates on this? For creating a custom modal, I looked through the documentation but sadly couldn't find anything convenient. |
Beta Was this translation helpful? Give feedback.
-
Similar to
<ConnectButton.Custom>
, I'd like a way to tellopenAccountModal
to open a custom AccountModal.I am working on an app for farmers and foodies, using Scaffold-ETH 2 plus Web3Auth to make the the on-boarding process feel less like a crypto app. I was able to use the custom connect button to display the user's name and profile pic (instead of their ETH address and a Blockie/ENS avatar, as seen in most SE-2 apps), but when the user clicks the button post-login, the account modal is still pretty crypto-ish, with just an address, balance and Blockie). I realize the alternative is to just make my own account modal and not use
openAccountModal
, but a custom AccountModal seems like it would be a nice feature for RainbowKit in general, and I could still use the built-in "Copy Address" and "Disconnect" buttons.Beta Was this translation helpful? Give feedback.
All reactions