GameCN
Components

Status Effect Stack

Buff and debuff icons with optional stacks and countdown timers.

Status Effect Stack

status-effect-stack

HUDReadycomponent

Buff and debuff icons with optional stacks and countdown timers.

npx shadcn@latest add @gamecn/status-effect-stack
Live Preview
Rendered with the component style selected in the top-right selector.
Frame
Scale100%
GuardArmor raised2Guard
BurnDamage over time8sBurn
RiftUnstable magic14sRift
Examples
Basic setup, game-state usage, and customization paths.

Basic

Install Status Effect Stack and render it with the default GameCN treatment.

npx shadcn@latest add @gamecn/status-effect-stack
import { StatusEffectStack } from '@/components/ui/status-effect-stack'

Advanced

Use Status Effect Stack with richer game-state data such as variants, empty states, compact density, or critical states.

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

Customization

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

<StatusEffectStack
  iconSrc="/game-assets/status-effect-stack.png"
/>