Setup
How to import the header template, position it correctly in your layout, and optionally add prebuilt mega menu dropdown patterns using the provided JSON files.
1. Import Template
First, import the header and make sure it appears in the correct position in your template.
Open your
header.jsonfile in a text editor or IDE and copy its entire contents.In Etch, open your index template:
Navigate to any page
In the left-hand sidebar, go to the Template Manager
Find your index template and click Edit
Paste the JSON into the template and make sure the
<header>is placed above the<main>element.

2. (Optional) Import Dropdown Patterns
Along with the template files, you will see a folder named Dropdown Patterns. Inside this folder, you will find several pre-built mega menu dropdown patterns that you can use as a starting point. You can import these patterns into the slots of the Menu Dropdown components.
Open the header layers. Inside the Menu Wrapper component, locate the two menu dropdown components and find the one labeled
Mega Menu.Open the
Dropdown Patternsfolder and copy the contents of one of the.jsonfiles.Paste the contents into the slot of the
Menu Dropdowncomponent.Remove the existing
placeholderlayer from that dropdown.
4. Why isn't the header a component?
You might notice that the header is not set up as a component. This is intentional.
Open the header layers. Inside the Menu Wrapper component, locate the two menu dropdown components and find the one labeled
Mega Menu.Open the
Dropdown Patternsfolder and copy the contents of one of the.jsonfiles.Paste the contents into the slot of the
Menu Dropdowncomponent.Remove the existing
placeholderlayer from that dropdown.
The recommended approach is to fully build and finalize your header first. Once you are happy with it, convert it into a component so you can reuse it across templates.
5. Getting started with customization
There are five key elements that make up the menu builder. Each one has its own options to help you build menus more quickly. You can see a full list of options and what they do on the Component Options page.
For now, you will get a high-level overview of what each element does and how its styling works.
1. Header
This is the header you will use across your entire site. The <header> element uses a .header-wrapper class, and the container inside it uses a .header class.
It is helpful to think of .header-wrapper as the outer shell and .header as the actual site header.
Want to change the background color of your header? Make that change on .header.
Want to add backdrop-filter: blur(20px);? Add that to .header as well.
You can treat .header-wrapper as an invisible outer container. This separation gives you room for smooth mobile animations and behavior without breaking mobile interactions or any dropdown interactions that follow.
More information on header options here:
Header (Element)2. Toggle
The toggle is responsible for opening and closing the menu. It comes with multiple options such as alternating labels or animated hamburger icons.
More information on Toggle options here:
Toggle (Component)3. Menu Wrapper
Think of the Menu Wrapper as your entire navigation system for both mobile and desktop. This element holds the custom CSS that controls how your menu behaves and looks at different breakpoints. You will find most of the custom CSS for the menu here.
To edit the CSS for the Menu Wrapper, right click on the component and click "Edit Component". The Menu Wrapper is responsible for:
Handling the breakpoint where your layout changes between mobile and desktop
Switching classes from
.mobileto .desktop(and back) based on that breakpointSwitching behavior of dropdowns on mobile
Switching navigation modes such as a reveal mode or stacked mode on mobile devices
If you want to make mobile-specific or desktop-speficic CSS changes, this is the component you will edit. The CSS inside is broken out and commented so you can quickly find and adjust the styles you need.
More information on Menu Wrapper options here:
Menu Wrapper (Component)4. Menu Dropdown
The Menu Dropdown is the element you use when you want navigation items to reveal additional content, such as submenus or mega menus.
You can think of it as a container that:
Holds the content that appears when a user hovers or clicks on a menu item
Connects to the Menu Wrapper so it behaves correctly at different breakpoints
Works with the provided dropdown patterns so you can plug in complex layouts with minimal setup
Use this element any time you need a menu item to open a panel, grid of links, or richer content instead of just linking directly to a page.
More information on Menu Dropdown options here:
Menu Dropdown (Component)5. Menu Link
This is a very simple element that is a link wrapped in an LI element. Makes it easy to place into your navigation and dropdown's without the added layers.
More information on Menu Link options here:
Menu Link (Component)Last updated
