Magoo Component UI logo Magoo Component UI
← Catalog

Wallet Connect

wallet-connect molecule experimental

A connect-wallet control that opens a wallet picker, then shows the connected account as a masked-address pill.

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default
Connected
Open

Props

NameTypeReq
connected boolean
address string
balance string
wallets array ✓
start_open boolean

Related components

How to use

Open/closed state is the data-open attribute on the root, revealed purely by the group-data-[open=true] utilities - no JavaScript is needed for the reveal (so it renders in screenshots). behavior.js wires interaction: the trigger toggles the picker, choosing a wallet fires wallet:connect with { wallet } and closes, and Escape or an outside click closes. In the connected state there is no trigger, so init is a safe no-op.

Use cases

actionmenu WCAG AA SEO 20 dir: both ai-generated