Etch component
Drawer Nav 1
Large drawer links in a list. Put li > a.mac-drawer-nav-1__link items in its slot.
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
itemsslot withli > a.mac-drawer-nav-1__linkitems. 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