contextmenu

Source

<drab-contextmenu
    animation-keyframe-from-transform="scale(.95) translateY(3%)"
    animation-keyframe-from-opacity="0"
    animation-keyframe-to-transform="scale(1) translateY(0)"
    animation-keyframe-to-opacity="1"
>
    <button data-trigger class="button button-primary">Right Click</button>
    <!-- content should be set to `display: none;` -->
    <div data-content class="hidden">
        <div class="card flex w-48 flex-col gap-2 p-2">
            <div class="font-bold">Context Menu</div>
            <button role="menuitem" class="button button-secondary">Button</button>
            <button role="menuitem" class="button button-secondary">Button</button>
            <button role="menuitem" class="button button-secondary">Button</button>
        </div>
    </div>
</drab-contextmenu>