ItemSlot

Dark recessed inventory slot for displaying items, matching Stardew Valley's inventory grid.

🥕
🫐
🎃
🥔
🥔
🥔
🥔
⛏️
🪨64
🍇12

Props

PropTypeDefaultDescription
quality"basic" | "silver" | "gold" | "iridium"Quality star indicator shown in the bottom-right corner of the slot.
quantitynumberStack count displayed in the bottom-right corner. Only shown when greater than 1.
selectedbooleanfalseHighlights the slot with a golden border glow to indicate selection.
emptybooleanfalseWhen true, hides children, quality star, and quantity to render an empty slot.
childrenReactNodeContent displayed inside the slot (icon, image, emoji, etc.).
classNamestringAdditional CSS classes to apply.