Builder content link
Builder public api key
fa665fa46d0f4b6bad52d214bed1cec9
What are you trying to accomplish
We have created the custom component BuilderVideoCarousel that is use in Page models and in Section models as well.
It would be great to have a component input that is visible if the component is used in a Section model and hidden if the component is used in a Page model.
See the attached screenshot below.
I want to have the ‘Gray background’ toggle visible if the VideoCarousel is in Section model and hide the toggle if the VideoCarousel is in Page model, as this toggle applies only for Section model.
Is there a way to know where our component is placed (in Page model or in Section model) from the context of the component?
Screenshots or video link
Code stack you are integrating Builder with
NextJS, react