View the index of available developer guides
Available since Jenkins 2.235.
View the complete list of symbols available to use on GitHub
Jenkins Symbols are an extensive and consistent collection of icons for use in Jenkins and plugins. Symbols are intended to be used everywhere a traditional icon would be used, such as in the sidebar, in buttons and in tables. Symbols are scalable, support different weights and adapt to the user’s theme.
Using symbols in your view is simple. Use the existing icon
component and set the src
value to the symbol you want, prefixed with "symbol-"
.
Jelly example:
<l:icon src="symbol-search" />
Groovy example:
l.icon(src: 'symbol-search')
It’s possible to add alt text and custom classes to symbols, for example:
Jelly example:
<l:icon src="symbol-search" alt="Search" class="custom-class" />
Groovy example:
l.icon(src: 'symbol-search', alt: 'Search', class: 'custom-class')