GameCN
Components

Game Command Menu

Quick action command palette for game interfaces.

Game Command Menu

game-command-menu

NavigationBetacomponent

A command palette surface for quick actions, menus, and debug shortcuts.

npx shadcn@latest add @gamecn/game-command-menu
Live Preview
Rendered with the component style selected in the top-right selector.
Frame
Scale100%

Command Relay

Quick actions

Examples
Basic setup, game-state usage, and customization paths.

Basic

Install Game Command Menu and render it with the default GameCN treatment.

npx shadcn@latest add @gamecn/game-command-menu
import { GameCommandMenu } from '@/components/ui/game-command-menu'

Advanced

Use Game Command Menu with richer game-state data such as variants, empty states, compact density, or critical states.

<GameCommandMenu
  className="max-w-md"
/>

Customization

Swap artwork, tune tokens, and wire the installed copy to your live game state.

<GameCommandMenu
  iconSrc="/game-assets/game-command-menu.png"
/>