Codicons

github.com ↗

Visual Studio Code’s symbols as an icon font and SVG sprite.

SI Score
80/100
Pricing
Open Source AI reading, not confirmed
Free plan
Yes AI reading, not confirmed
Sign-up required
Not required AI reading, not confirmed

Ask SI about Codicons

Answers use saved listing facts and recorded sources.
Homepage screenshot
Screenshot of the Codicons homepage

What it does

Codicons packages the Visual Studio Code icon vocabulary for developer interfaces. It provides a searchable lookup, an npm package, font classes and SVG sprite references, with a sample for extension webviews.

Select a symbol in the linked Visual Studio Codicon Lookup, then install @vscode/codicons. The older unscoped vscode-codicons package is deprecated. Font markup combines codicon with the icon’s class, such as codicon-add; use a single element for each icon without child elements.

For the sprite route, reference the symbol inside codicon.svg, for example codicon.svg#add. Extension developers can also follow the Cat Codicons webview sample: install its dependencies, compile or watch the project, launch the debugger and run its Show Cat Codicons command.

A custom font build takes SVG artwork from src/icons and its character mappings from src/template/mapping.json. Exported SVGs sometimes need sanitizing before font conversion, particularly when shapes arrive from design software.

Artwork and documentation use CC BY 4.0, while code uses MIT. Retain creator and licence information and mark changes when sharing the artwork. Neither licence grants Microsoft trademark rights.

Strengths

  • Keeps icon selection aligned with Visual Studio Code’s vocabulary.
  • Supports font classes, sprites and an extension webview example.

Watch out for

  • Custom SVG-to-font builds can need input cleanup.
  • Microsoft names and trademarks have separate usage rights.

Best for

  • Visual Studio Code extension interfaces.
  • Developer tools adopting the Codicons symbol set.

Sources