Basic menu
Menu is a list of actions for the user to perform.
Important Notes:
Menu is usually used inside of a popover. View Popover
Demo
Twig
{% include '@bolt-components-menu/menu.twig' with {
items: [
{
content: 'Menu item 1',
},
{
content: 'Menu item 2',
},
{
content: 'Menu item 3',
},
]
} only %}
HTML
<bolt-menu>
<bolt-menu-item>
Menu item 1
</bolt-menu-item>
<bolt-menu-item>
Menu item 2
</bolt-menu-item>
<bolt-menu-item>
Menu item 3
</bolt-menu-item>
</bolt-menu>