Home App Docs Blog Github

Clarification Needed: Hiding built-in components while leaving styles tab accessible

What are you trying to accomplish
Hide built-in React components

Code stack you are integrating Builder with
Next.js + React


I would like to hide the built-in Builder components so that our editors don’t accidentally use them. We will include some base built-in components in a custom menu using Builder.register('insertMenu', {...}).

I have tried the Builder.set({ customInsertMenu: false }); as suggested, but the built-ins still show up.

Component Only Mode is not an option, as we’d still like to use the Styles tab.

Any suggestions? Thanks!

This should be true to override the insert menu ( and hide all built-in components)

try

Builder.set({ customInsertMenu: true })

Hey Aziz - Sorry I provided the wrong context.

The built-in default insert menu still shows up even with

Builder.set({ customInsertMenu: true })

Hi @will,

Can you please share more of your code so we can review your setup? If you are able to reproduce the issue with something like Stackblitz or Codesandbox that would be great. Here is a Stackblitz template of our Next.js minimal starter you can use: Stackblitz - Builder.io/Next.js

Thanks,
AJ