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
| Prop | Type | Default | Description |
|---|---|---|---|
| cards | CardData[] | required | Array of discarded cards |
| faceUp | boolean | true | Show top card face-up |
| theme | string | "gray" | Card back color theme |
See the Card Decks Block for interactive examples.