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
defaultValuestring—The value of the tab that should be active on initial render.
childrenReactNode—TabsList and TabContent elements.
classNamestring—Additional CSS classes for the Tabs root container.

Props

PropTypeDefaultDescription
valuestring—Unique identifier for this tab. Must match a TabContent value.
childrenReactNode—Label displayed on the tab button.

Props

PropTypeDefaultDescription
valuestring—Identifier matching a Tab value. Content shows when active.
childrenReactNode—Content rendered inside the tab panel.
classNamestring—Additional CSS classes for the tab panel.