Search Docs
Loading...
Skip to content

Interface: TabOptions

Represents a single tab of a tab bar.

The TabOptions interface provides a set of properties that control the behavior and appearance of a tab. These options include settings for the id, label, icon, tooltip, disabled state, active state and children.

Properties#

Property Type Description
id string Identifies this tab. Passed to setValue when the tab is selected and compared against value to determine the selected tab.
label? string string[]
icon? CustomIcon -
tooltip? string string[]
isDisabled? boolean -
isActive? boolean Renders an indicator below the tab icon, signalling that this tab has a value applied — an animation, for example. Not whether the tab is selected. Requires an icon, since the indicator is anchored to it.
children? ChildrenOrder