Graveyard
A scattered discard pile component showing the top card with natural rotation.
Usage
example.tsxtsx
1import { Graveyard } from "@/components/playset-blocks"2 3const discardPile = [4 { title: "Fallen Knight", category: "DEAD", theme: "gray" },5 { title: "Lost Spirit", category: "GHOST", theme: "cyan" },6]7 8<Graveyard cards={discardPile} faceUp />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| cards* | CardData[] | — | Array of discarded cards |
| faceUp | boolean | — | Show top card face-up |
| theme | string | — | Card back color theme |
See the Card Decks Block for interactive examples.