Components
Minimap Frame
A stylized minimap shell with zone label and positioned markers.
Minimap Frame
minimap-frame
WorldReadycomponent
A stylized minimap shell with zone label and positioned markers.
npx shadcn@latest add @gamecn/minimap-frameLive 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 Minimap Frame and render it with the default GameCN treatment.
npx shadcn@latest add @gamecn/minimap-frameimport { MinimapFrame } from '@/components/ui/minimap-frame'Advanced
Use Minimap Frame with richer game-state data such as variants, empty states, compact density, or critical states.
<MinimapFrame
className="max-w-md"
/>Customization
Swap artwork, tune tokens, and wire the installed copy to your live game state.
<MinimapFrame
iconSrc="/game-assets/minimap-frame.png"
/>