Menus

Usage

<script lang="ts">
	let menuBtn = $state<HTMLElement>()
</script>
<Button popovertarget="browser-menu" bind:element={menuBtn}>
	Open Menu
</Button>
<Menu anchor={menuBtn} id="browser-menu" style="max-width: 300px">
	<MenuItem>Chrome</MenuItem>
	<MenuItem>Firefox</MenuItem>
	<MenuItem>Safari</MenuItem>
	<MenuItem disabled>Opera</MenuItem>
</Menu>