Tabs

Stone tablet-style tab navigation matching the game menu.

Your backpack contains 24 parsnip seeds and a rusty sword.
Plant parsnips, potatoes, and cauliflower. Egg Festival on the 13th.

Props

PropTypeDefaultDescription
defaultValuestringThe value of the tab that should be active on initial render.
childrenReactNodeTabsList and TabContent elements.
classNamestringAdditional CSS classes for the Tabs root container.

Props

PropTypeDefaultDescription
valuestringUnique identifier for this tab. Must match a TabContent value.
childrenReactNodeLabel displayed on the tab button.

Props

PropTypeDefaultDescription
valuestringIdentifier matching a Tab value. Content shows when active.
childrenReactNodeContent rendered inside the tab panel.
classNamestringAdditional CSS classes for the tab panel.