> ## Documentation Index
> Fetch the complete documentation index at: https://www.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)](/docs/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-testing/L6Baf9nHRMN5_MjI/images/widget/widget-headless-multi-wallet-1.png?fit=max&auto=format&n=L6Baf9nHRMN5_MjI&q=85&s=9fa6a90f40f018e7d5755726c950df12" width="1610" height="1410" data-path="images/widget/widget-headless-multi-wallet-1.png" />
</Frame>

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