Menu

A menu of items that is hidden until triggered.

Basic Example

<script>
	import { Menu, MenuTrigger, MenuContent, MenuItem, MenuArrow } from 'lithesome';
</script>

<Menu>
	<MenuTrigger>
		<button></button>
	</MenuTrigger>
	<MenuContent>
		<MenuArrow />
		<MenuItem />
	</MenuContent>
</Menu>

Disabling an item

By passing the disabled prop, it will disable the item. Disallowing clicking and skipped over via keyboard navigation.

<MenuItem disabled>
	<!-- code here... -->
</MenuItem>

If you need to navigate to another page via the Content items. Simply pass the link via the href prop.

<MenuItem href="/@gibbu">
	<!-- code here... -->
</MenuItem>