Etch component
Dropdown 6
Documentation
Content for a mega menu: an image tile with an eyebrow, a title and a "Learn More" label, next to columns of links. The first column's items have a title, a short text and a thumbnail.
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 images in Etch's component editor after pasting it.
Good to know
- The tile's title link covers the whole tile, so "Learn More" is a label, not a second link.
- The CSS variables set the gap between the columns and the height of the tile'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