TabPanelLayout
A tab panel: an item of IndexLayout's options array, with role="tabpanel" on the root. You rarely render it directly.
Standalone use
active declares the active state (outputs the oo-ui-tabPanelLayout-active class). label / value / disabled are fields carried along with the tab-set object — the component consumes them, so they are never written as DOM attributes. The panel defaults to expanded (fills its parent via absolute positioning), so when placed on its own it needs a positioned, sized parent.
Rendered without an IndexLayout, the active state is declared via active (the root emits the oo-ui-tabPanelLayout-active class; panels default to expanded, filling a positioned parent — pass expanded={false} to place them statically):
API
Inherits all PanelLayout props, plus:
See also
- The tab container (with the tabpanel association): IndexLayout