Skip to content

Tabs

Tag name: <vscode-tabs>

Properties

panelreflects
Namepanel
Attributepanel
Type

boolean

Default

false

Description

Panel-like look

selectedIndexreflects
NameselectedIndex
Attributeselected-index
Type

number

Default

0

versionreadonly
Nameversion
Type

string

Description

VSCode Elements version

Events

vsc-selectdeprecated
Namevsc-select
TypeCustomEvent
Description
vsc-tabs-select
Namevsc-tabs-select
TypeVscTabSelectEvent
Description

Dispatched when the active tab is changed

Slots

default/unnamed
Description

Default slot. It is used for tab panels.

addons
Description

Right aligned area in the header.

header
Description

Slot for tab headers.

CSS Custom Properties

--vscode-font-family
Name--vscode-font-family
--vscode-font-size
Name--vscode-font-size
--vscode-font-weight
Name--vscode-font-weight
--vscode-panel-background
Name--vscode-panel-background
--vscode-settings-headerBorder
Name--vscode-settings-headerBorder