MenuToggle Menu
Nested Components
You have the flexibility to place a component within another component, creating what is known as a nested component. This can be achieved by either directly creating a new component within the main component or by including an instance of another component. Any components can be used for nesting.
When you nest a component, it becomes the child component of the one it's placed in. Consequently, any component associated with a parent component is referred to as a nested component.
![[object Object]](https://cdn.sanity.io/images/vidqzkll/production/979a4d79522b97a20b149a55e247286db3a0c354-2175x1200.png/nested-components.png)