Panel

The foundational Stardew Valley frame component. A 3-layer nested border used by DialogueBox, Tooltip, and other components.

The default wooden panel with warm cream interior.

Default variant

Dark variant

Menu variant

Small padding

Medium padding (default)

Large padding

Props

PropTypeDefaultDescription
variant"default" | "dark" | "menu""default"Visual style. Default is the warm wooden frame, dark and menu use green tones.
size"sm" | "md" | "lg""md"Controls the inner padding of the panel content area.
childrenReactNodeContent rendered inside the panel.
classNamestringAdditional CSS classes applied to the innermost layer.