Skip to content zachleat Project

🚾Web Component Star Search

A searchable catalog of standalone web components.

<md-menu-item>

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
8.2 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,282,713 hits/month (whole @material/web package)
GitHub stars
11,283
Latest stable version
2.5.0
Last published
License
Apache-2.0

Menu items are the selectable choices within the menu. Menu items must implement the MenuItem interface and also have the md-menu-item attribute. Additionally menu items are list items so they must also have the md-list-item attribute.

Menu items can control a menu by selectively firing the close-menu and deselect-items events.