Components
Game Context Menu
Right-click game action menu for slots, maps, and rows.
Game Context Menu
game-context-menu
OverlayBetacomponent
A right-click action menu for inventory slots, maps, skill nodes, and party rows.
npx shadcn@latest add @gamecn/game-context-menuLive Preview
Rendered with the component style selected in the top-right selector.
Frame
Scale100%
Right-click relic socket
Examples
Basic setup, game-state usage, and customization paths.
Basic
Install Game Context Menu and render it with the default GameCN treatment.
npx shadcn@latest add @gamecn/game-context-menuimport { GameContextMenu } from '@/components/ui/game-context-menu'Advanced
Use Game Context Menu with richer game-state data such as variants, empty states, compact density, or critical states.
<GameContextMenu
className="max-w-md"
/>Customization
Swap artwork, tune tokens, and wire the installed copy to your live game state.
<GameContextMenu
iconSrc="/game-assets/game-context-menu.png"
/>