Panel
The foundational Stardew Valley frame component. A 3-layer nested border used by DialogueBox, Tooltip, and other components.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| 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. |
| children | ReactNode | — | Content rendered inside the panel. |
| className | string | — | Additional CSS classes applied to the innermost layer. |