GameCN
Components

Item Card

A loot item card with rarity, level, type, and stat lines.

Item Card

item-card

CardsReadycomponent

A loot item card with rarity, level, type, and stat lines.

npx shadcn@latest add @gamecn/item-card
Live Preview
Rendered with the component style selected in the top-right selector.
Frame
Scale100%

Ember Pike

Polearm • Lvl 42

  • +18 Power
  • +12 Burn
  • Execute refreshes dash
Examples
Basic setup, game-state usage, and customization paths.

Basic

Install Item Card and render it with the default GameCN treatment.

npx shadcn@latest add @gamecn/item-card
import { ItemCard } from '@/components/ui/item-card'

Advanced

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

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

Customization

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

<ItemCard
  iconSrc="/game-assets/item-card.png"
/>