Etch component

Dropdown 3

Dropdown 3

Copy Dropdown 3

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: 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 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 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