Skip to content

Tab Menu

@astryxdesign/core v0.7.1 · TabMenu

Props ​

NameTypeDefaultDescription
labelstring-Trigger text when no option is selected, and the accessible name of the menu.
optionsTabMenuOption[]-Tabs collected behind the trigger.

TabMenuOption ​

NameTypeDescription
valuestringTab value passed to the parent TabList.
labelstringMenu item text. It replaces the trigger text while this option is selected.
iconClassstringCSS icon class, for example i-carbon-settings.

Selection is the parent list's v-model:value. The menu does not emit its own change event.