🎨 Add dropdown-menu UI component

This commit is contained in:
pheralb
2025-09-18 12:03:20 +01:00
parent b354a61eba
commit 894aca0d14
8 changed files with 181 additions and 0 deletions
@@ -0,0 +1,14 @@
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
let {
ref = $bindable(null),
...restProps
}: DropdownMenuPrimitive.GroupProps = $props();
</script>
<DropdownMenuPrimitive.Group
bind:ref
data-slot="dropdown-menu-group"
{...restProps}
/>