Graveyard

A scattered discard pile component showing the top card with natural rotation.

Usage

import { Graveyard } from "@/components/playset-blocks"

const discardPile = [
  { title: "Fallen Knight", category: "DEAD", theme: "gray" },
  { title: "Lost Spirit", category: "GHOST", theme: "cyan" },
]

<Graveyard cards={discardPile} faceUp />

Props

PropTypeDefaultDescription
cardsCardData[]requiredArray of discarded cards
faceUpbooleantrueShow top card face-up
themestring"gray"Card back color theme

See the Card Decks Block for interactive examples.