loom muslin

Context Menu

Right-click menu on the wrapped area; opens at the pointer with full keyboard semantics from the menu machine.

Previewlive — edit controls below
Right-click this invoice row

Content

State

Row actions

import { ContextMenu } from "@loom/muslin-react";

<ContextMenu
  items={[
    { value: "open", label: "Open invoice" },
    { value: "copy", label: "Copy link" },
    { value: "delete", label: "Delete", destructive: true },
  ]}
  onSelect={(value) => runAction(row.id, value)}
>
  <Table.Cell>{row.id}</Table.Cell>
</ContextMenu>