Etch component

Drawer Nav 1

Large drawer links in a list. Put li > a.mac-drawer-nav-1__link items in its slot.

Drawer Nav 1

Copy Drawer Nav 1

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

A list of large links for drawers, such as a menu's main pages. MAC Drawer Menu 1 and 2 use it.

How to use it

  • Fill the items slot with li > a.mac-drawer-nav-1__link items. The entry's Copy JSON brings sample links there; without items, the list doesn't show.
  • Label names the navigation for screen readers ("Primary" by default). When a page has more than one navigation, give each one its own label.

Reference

Read from the component's JSON, so it's always current.

Loading the reference