Etch component

Dropdown 5

Dropdown 5

Copy Dropdown 5

Configurator settings

Change a setting in the configurator to include it.

Optional. Copies the component under its own name, such as News Card Alpha for a site.

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 dropdownContent slot of a MAC Menu Dropdown 1, and set that dropdown's Dropdown Content Tag to div. 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