Etch component
Dropdown 3
Documentation
Content for a mega menu: four columns of links, each under a heading. It's the plainest layout, for menus with many pages.
How to use it
- Put it in the
dropdownContentslot of a MAC Menu Dropdown 1, and set that dropdown's Dropdown Content Tag todiv. For a panel as wide as the header, set its Match Width to.mac-header-1__container. - It has no props: edit its headings and links in Etch's component editor after pasting it. Add or remove a column by duplicating or deleting a
mac-dropdown__list-wrapper.
Good to know
- The CSS variables set the gap between the columns and the lines between them.
- In MAC Menu 1's mobile menu it stacks into one column.
Reference
Read from the component's JSON, so it's always current.
Loading the reference