Skip to content

Toolbar Button

To use the icons, the codicons.css file must be included in the page:

<link rel="stylesheet" href="path/to/codicon.css" id="vscode-codicon-stylesheet">

Basic example

Toolbar Container is a simple container to arrange the toolar buttons.

<vscode-toolbar-container>
<vscode-toolbar-button icon="files" label="Files"></vscode-toolbar-button>
<vscode-toolbar-button icon="search" label="Search"></vscode-toolbar-button>
<vscode-toolbar-button icon="source-control" label="Source Control"></vscode-toolbar-button>
<vscode-toolbar-button icon="debug-alt" label="Debug"></vscode-toolbar-button>
<vscode-toolbar-button icon="extensions" label="Extensions"></vscode-toolbar-button>
</vscode-toolbar-container>