> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DynamicMultiWalletPromptsWidget

<Card title="Recommended: JavaScript SDK with React Hooks" icon="react" color="#4779FE">
  For new React apps, we recommend the JavaScript SDK with React Hooks (`@dynamic-labs-sdk/react-hooks`) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the [React quickstart (JavaScript SDK)](/javascript/reference/react-quickstart) to get started.
</Card>

### Summary

The DynamicMultiWalletPromptsWidget provides a UI for multi-wallet without it being bundled as part of the DynamicWidget or DynamicUserProfile.

<Note>
  This component should not be used with DynamicWidget or DynamicUserProfile.
</Note>

This component provides the same multi-wallet prompts which are found in the DynamicWidget and used when the user changes wallets or starts linking a new wallet, but in a standalone modal.

### Example

```tsx theme={"system"}
import {
  DynamicContextProvider,
  DynamicMultiWalletPromptsWidget,
} from '@dynamic-labs/sdk-react-core';

const App = () => {
  return (
    <DynamicContextProvider settings={{ environmentId: '<env id>' }}>
      <DynamicMultiWalletPromptsWidget />

      <Views />
    </DynamicContextProvider>
  )
}
```

Now the multi-wallet prompts will open automatically in a modal when the user switches their wallet or starts linking a new wallet

<Frame>
  <img src="https://mintcdn.com/dynamic-docs/S0I4gBjjMnJYbuz8/images/widget/widget-headless-multi-wallet-1.png?fit=max&auto=format&n=S0I4gBjjMnJYbuz8&q=85&s=ca0ff1cb3ac902791ba266a60c90ff5b" width="1610" height="1410" data-path="images/widget/widget-headless-multi-wallet-1.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/dynamic-docs/S0I4gBjjMnJYbuz8/images/widget/widget-headless-multi-wallet-2.png?fit=max&auto=format&n=S0I4gBjjMnJYbuz8&q=85&s=6297acdbfdfca74ca95bdf4e5e2fc2a3" width="1604" height="1406" data-path="images/widget/widget-headless-multi-wallet-2.png" />
</Frame>
