Components
Game Dropdown
Compact action menu for inventory, loadout, and account controls.
Game Dropdown
game-dropdown
OverlayBetacomponent
A compact action menu for inventory, loadout, and account controls.
npx shadcn@latest add @gamecn/game-dropdownLive 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 Dropdown and render it with the default GameCN treatment.
npx shadcn@latest add @gamecn/game-dropdownimport { GameDropdown } from '@/components/ui/game-dropdown'Advanced
Use Game Dropdown with richer game-state data such as variants, empty states, compact density, or critical states.
<GameDropdown
className="max-w-md"
/>Customization
Swap artwork, tune tokens, and wire the installed copy to your live game state.
<GameDropdown
iconSrc="/game-assets/game-dropdown.png"
/>