# hideFromInsertMenu not working

**URL:** <https://forum.builder.io/t/hidefrominsertmenu-not-working/4473>\
**Category:** CMS\
**Tags:** nextjs\
**Created:** [November 16, 2023, 5:09pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473 "2023-11-16T17:09:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguel.carrillo](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@miguel.carrillo](https://forum.builder.io/u/miguel.carrillo)\
**Post date:** [November 16, 2023, 5:09pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473/1 "2023-11-16T17:09:16Z")

</div>

We’ve been using Builder with Next.js registering custom components and everything has worked fine.

I need to hide some legacy custom components, so I give them the hideFromInsertMenu: true option but it doesn’t make any difference.

Any idea what I could be doing wrong?

 ![Screen Shot 2023-11-16 at 12.08.25 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/e/e13aa77bd1ed9ec335a5463a0e348f1bb52cb2a6.jpeg)

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 16, 2023, 5:20pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473/2 "2023-11-16T17:20:49Z")

</div>

Hello @miguel.carrillo,

Welcome to the [Builder.io](http://Builder.io) forum!

We appreciate your engagement with the platform. Currently, we are unable to reproduce the reported issue related to `hideFromInsertMenu: true`. This functionality appears to be working as expected on our end.

To assist you more effectively, could you please confirm the version of the Builder/React SDK you are currently using?

![Screenshot 2023-11-16 at 10.45.00 PM|578x500]

 ![Screenshot 2023-11-16 at 10.45.00 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/d/d215711b61ed423e37784429f3afb73e378b0647.png)  
 ![Screenshot 2023-11-16 at 10.45.20 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/6/6a383f25fe84c163c3a33eb7419028e41c727c0d.png)  
 ![Screenshot 2023-11-16 at 10.45.51 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/2/29b3c831b3af393d020f23a1d21e53298df94b9b.png)  
 ![Screenshot 2023-11-16 at 10.48.55 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/9/96e7b0ec12516c6a34cdfa28271e31f798ced561.png)

---

<div class="post-metadata">

**Author:** ![miguel.carrillo](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@miguel.carrillo](https://forum.builder.io/u/miguel.carrillo)\
**Post date:** [November 16, 2023, 5:44pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473/3 "2023-11-16T17:44:28Z")

</div>

@builder.io/react@3.1.1  
@builder.io/sdk@2.1.1

Could it be related to the components being in a custom Menu? Created with

```auto
Builder.register('insertMenu', {
      name: tabName,
      items: Object.keys(components).map(key => ({
        name: components[key].name,
      })),
    });

```

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 16, 2023, 5:57pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473/4 "2023-11-16T17:57:27Z")

</div>

Hello @miguel.carrillo,

The custom menu must be the reason `hideFromInsertMenu: true` not working. Does it work for any component that is not in the custom menu?

> **[Versioning Custom Components - Builder.io](https://www.builder.io/c/docs/custom-components-versioning#naming-versioned-custom-components)**
>
> Drag and drop with your components, right within your existing site or app. Build and optimize digital experiences for any tech stack, visually.

---

<div class="post-metadata">

**Author:** ![miguel.carrillo](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@miguel.carrillo](https://forum.builder.io/u/miguel.carrillo)\
**Post date:** [November 16, 2023, 6:07pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473/5 "2023-11-16T18:07:27Z")

</div>

Would have to make a test. I don’t have any component outside a custom menu

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 16, 2023, 6:15pm UTC](https://forum.builder.io/t/hidefrominsertmenu-not-working/4473/6 "2023-11-16T18:15:59Z")

</div>

Hello @miguel.carrillo,

Following our investigation, we found that the `hideFromInsertMenu: true` setting currently works for the native insert menu but not for the custom menu. Recognizing the value of this feature, we encourage you to submit a feature request for its inclusion.

You can submit your feature request at [Builder.io Ideas](https://ideas.builder.io/ideas/). This platform allows users to share and upvote ideas, contributing to the enhancement of [Builder.io](http://Builder.io) based on community feedback.
