Components
Game Menu Bar
Desktop-style game menu bar for pause screens and editors.
Game Menu Bar
game-menu-bar
NavigationBetacomponent
A desktop-style game menu bar for pause screens, editors, and debug surfaces.
npx shadcn@latest add @gamecn/game-menu-barLive Preview
Rendered with the component style selected in the top-right selector.
Frame
Scale100%
Examples
Basic setup, game-state usage, and customization paths.
Basic
Install Game Menu Bar and render it with the default GameCN treatment.
npx shadcn@latest add @gamecn/game-menu-barimport { GameMenuBar } from '@/components/ui/game-menu-bar'Advanced
Use Game Menu Bar with richer game-state data such as variants, empty states, compact density, or critical states.
<GameMenuBar
className="max-w-md"
/>Customization
Swap artwork, tune tokens, and wire the installed copy to your live game state.
<GameMenuBar
iconSrc="/game-assets/game-menu-bar.png"
/>