#
Octicons
Octicons can be used with the Icon component and several other components, including the Badge and Button.
#
Samples
#
Component
For the Icon component, the icon is specified using the syntax :icon-shortcode:, where shortcode is the name of the icon (found in the table below).
For example, use the code :icon-rocket: for a icon.
When an icon is used in other components, the icon is referred to by only the shortcode.
For example, the following demonstrates using the icon in a Badge and a Button.
#
Metadata
When an icon is specified within the Page or Project metadata, the icon can be referred to by only its shortcode.
The following sample demonstrates setting a Page icon to a .
---
icon: rocket
---
# Sample
This is a sample page with a :icon-rocket: icon.
#
New icons
The following NEW icons are included in Retype v4.2.0-preview:
#
All icons
As of v4.2.0-preview, there are 367 Octicons supported and more being added with each new release.