Etch component

Drawer Menu 4

Bottom menu drawer grouped in sections, from Nick Arce's Ara pattern. Opens from a button with the id open-mac-drawer-menu-4.

Drawer Menu 4

Copy Drawer Menu 4

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 menu drawer that slides up from the bottom, with its links grouped in titled sections, from Nick Arce's Ara pattern. It suits big menus, such as a product catalog or documentation.

How to use it

  • Give a button on the page the id open-mac-drawer-menu-4. The drawer opens when it's clicked.
  • The sections are MAC Drawer Section 1 groups inside the component, so edit their titles and links in Etch's component editor after pasting it.

Good to know

  • A section can show an item that isn't a link yet, muted, such as a page that's coming soon. MAC Drawer Section 1's page shows how.
  • Its ids are fixed, so use it once per page.

Reference

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

Loading the reference