Etch component
Dropdown 5
Documentation
Content for a mega menu: columns of links under headings, next to a featured card with an image, a title and a short text. It suits a menu that promotes one page, such as a new product or a case study.
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 links, texts and image in Etch's component editor after pasting it.
Good to know
- The featured card's title link covers the whole card.
- The CSS variables set the gap between the columns and the height of the card's image.
- 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