> ## 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] Recommended: JavaScript SDK with React Hooks
>
> 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)](https://docs.dynamic.xyz/docs/javascript/reference/react-quickstart.md) to get started.

### 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.

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

![](https://mintcdn.com/dynamic-docs/S0I4gBjjMnJYbuz8/images/widget/widget-headless-multi-wallet-1.png?fit=max\&auto=format\&n=S0I4gBjjMnJYbuz8\&q=85\&s=ca0ff1cb3ac902791ba266a60c90ff5b)

![](https://mintcdn.com/dynamic-docs/S0I4gBjjMnJYbuz8/images/widget/widget-headless-multi-wallet-2.png?fit=max\&auto=format\&n=S0I4gBjjMnJYbuz8\&q=85\&s=6297acdbfdfca74ca95bdf4e5e2fc2a3)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.