Skip to content zachleat Project

🚾Web Component Star Search

A searchable catalog of standalone web components.

<md-menu>

Menus display a list of choices on a temporary surface.

Category
Navigation
Built with
Lit
Library
Material Web
Author
Google
Package
@material/web
Component size
9.4 kB JS (minified + gzipped, JS includes dependencies beyond the library)
Library size
6.8 kB JS (shared by every Material Web component, loaded once per page)
Popular
5 out of 5
Downloads
138,923/week · jsDelivr 24,226,684 hits/month (whole @material/web package)
GitHub stars
11,283
Latest stable version
2.5.0
License
Apache-2.0

Menus appear when users interact with a button, action, or other control.

They can be opened from a variety of elements, most commonly icon buttons, buttons, and text fields.

md-menu listens for the close-menu and deselect-items events.

  • close-menu closes the menu when dispatched from a child element.
  • deselect-items deselects all of its immediate menu-item children.