# \[Archive\] Possible to hide the wallet connection option in the native modal SDK?

**URL:** <https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [May 13, 2023, 3:57am UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818 "2023-05-13T03:57:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@andrew](https://builder.metamask.io/u/andrew)\
**Post date:** [May 13, 2023, 3:57am UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818/1 "2023-05-13T03:57:08Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **andrew** on 5/13/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

Is it possible to completely hide the wallet connection option in the modal? Not just hide specific wallet options . Thanks!

**Please provide the following details too when asking for help in this category:**

- SDK Version:
- Platform:
- Browser Console Screenshots:
- Related to Custom Authentication? Please provide the following info too: **(Optional)**
  - Verifier Name:
  - JWKS Endpoint:
  - Sample idToken(JWT)

**Please provide the Web3Auth initialization and login code snippet below:**

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [May 23, 2023, 5:08am UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818/2 "2023-05-23T05:08:21Z")

</div>

Could you please go through this documentation [Torus EVM Wallet UI Plugin | Documentation](https://web3auth.io/docs/sdk/web/community/plugins/evm-wallet) and ensure useWalletConnect parameter is set to False (default)

---

<div class="post-metadata">

**Author:** ![andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@andrew](https://builder.metamask.io/u/andrew)\
**Post date:** [May 23, 2023, 6:44am UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818/3 "2023-05-23T06:44:59Z")

</div>

Got it working thanks!

---

<div class="post-metadata">

**Author:** ![tahmidislam1998](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tahmidislam1998](https://builder.metamask.io/u/tahmidislam1998)\
**Post date:** [August 31, 2023, 2:28pm UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818/4 "2023-08-31T14:28:40Z")

</div>

@andrew could you share your code? How did you do it?

---

<div class="post-metadata">

**Author:** ![tahmidislam1998](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tahmidislam1998](https://builder.metamask.io/u/tahmidislam1998)\
**Post date:** [August 31, 2023, 3:07pm UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818/5 "2023-08-31T15:07:58Z")

</div>

````plaintext

  const web3auth = new Web3Auth({
      clientId:"BCNEb4vQCl8rrcqFpZDr3WcS5Hz2EMtRIMw8pEax3GzC1OAYqWSzqpq8-UaTGbZczgBQJ2z4WNWSMuwR5pBz4uY",
      chainConfig: {
        chainNamespace: "eip155",
        chainId: "0x5",
      },
      web3AuthNetwork: "mainnet",
    });

    const torusPlugin = new TorusWalletConnectorPlugin({
      torusWalletOpts: {},
       walletInitOptions: { buttonPosition: "bottom-left",
        whiteLabel: {
          theme: { isDark: true, colors: { primary: "#00a8ff" } },
          logoDark: "https://web3auth.io/images/w3a-L-Favicon-1.svg",
          logoLight: "https://web3auth.io/images/w3a-D-Favicon-1.svg",
        },
        useWalletConnect: false,
        enableLogging: false,
        showTorusButton:false
      },
    });
    await web3auth.addPlugin(torusPlugin);

    await web3auth.initModal(
      {
      modalConfig: {
        openlogin: {
          label: "openlogin",
          loginMethods: {
            facebook: {
              name: "facebook",
              showOnModal: false,
            },
            reddit: {
              name: "reddit",
              showOnModal: false,
            },
            discord: {
              name: "discord",
              showOnModal: false,
            },
            email_passwordless: {
              name: "email_passwordless",
              showOnModal: false,
            },
            wechat: {
              name: "wechat",
              showOnModal: false,
            },
            weibo: {
              name: "weibo",
              showOnModal: false,
            },
            twitter: {
              name: "twitter",
              showOnModal: false,
            },
            kakao: {
              name: "kakao",
              showOnModal: false,
            },
            line: {
              name: "line",
              showOnModal: false,
            },
            twitch: {
              name: "twitch",
              showOnModal: false,
            },
            apple: {
              name: "apple",
              showOnModal: false,
            },
            github: {
              name: "github",
              showOnModal: false,
            },
            linkedin: {
              name: "linkedin",
              showOnModal: false,
            },
            external_wallets: {
              name: "external_wallets",
              showOnModal: false,
            },
            sms_passwordless: {
              name: "sms_passwordless",
              showOnModal: true,
            },
            wallet_logins:{
               name: "wallet_logins",
              showOnModal: false,
            }
            

          },
        },
      },
    });

    console.log(web3auth, " auto lets see 2 connected");
    if (!web3auth.connected) await web3auth.connect();```

![image|325x500](upload://2uhB7aF9OrzRXmxwTguSkioCwNj.png)
````

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [September 2, 2023, 5:17am UTC](https://builder.metamask.io/t/archive-possible-to-hide-the-wallet-connection-option-in-the-native-modal-sdk/1818/6 "2023-09-02T05:17:52Z")

</div>

@tahmidislam1998 Thanks for your patience.

You can refer to the below code snippet:

```auto
import { Web3Auth } from "@web3auth/modal";
import { CHAIN_NAMESPACES, WALLET_ADAPTERS } from "@web3auth/base";
const web3auth = new Web3Auth({
chainConfig: { chainNamespace: CHAIN_NAMESPACES.EIP155 },
clientId: “YOUR_WEB3AUTH_CLIENT_ID”,
web3AuthNetwork: “mainnet”,
});

```
