Components
Game Popover
Rich inspect popover for stats and detail panels.
Game Popover
game-popover
OverlayBetacomponent
A detail popover for tooltips that need stats, copy, and inspectable content.
npx shadcn@latest add @gamecn/game-popoverLive 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 Popover and render it with the default GameCN treatment.
npx shadcn@latest add @gamecn/game-popoverimport { GamePopover } from '@/components/ui/game-popover'Advanced
Use Game Popover with richer game-state data such as variants, empty states, compact density, or critical states.
<GamePopover
className="max-w-md"
/>Customization
Swap artwork, tune tokens, and wire the installed copy to your live game state.
<GamePopover
iconSrc="/game-assets/game-popover.png"
/>