GameCN
Components

Game Tooltip

Compact hover and focus intel card for game UI.

Game Tooltip

game-tooltip

OverlayBetacomponent

A compact hover/focus intel card for abilities, resources, and status effects.

npx shadcn@latest add @gamecn/game-tooltip
Live 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 Tooltip and render it with the default GameCN treatment.

npx shadcn@latest add @gamecn/game-tooltip
import { GameTooltip } from '@/components/ui/game-tooltip'

Advanced

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

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

Customization

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

<GameTooltip
  iconSrc="/game-assets/game-tooltip.png"
/>