install-test-mail
Introduced in v1.8.0
Available in TYPO3
9.5 10.4 11.5
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#FFC857" d="m16 2 14 10v18H2V12L16 2z"/><path fill="#FFF" d="m16 2 14 10v18H2V12L16 2z" opacity=".25"/><path fill="#FFF" d="M6 6h20v20H6z"/><path fill="#212121" d="M25 25H7V7h18m1-1H6v20h20V6z" opacity=".5"/><path fill="#B9B9B9" d="M9 11h8v1H9zM9 9h8v1H9zM9 14h14v1H9zM9 16h14v1H9zM9 18h14v1H9zM9 20h14v1H9zM9 22h14v1H9z"/><path fill="#FFC857" d="M30 12v18H2V12l14 10 14-10z"/><g fill="#212121" opacity=".05"><path d="M2 12v18l10.5-10.5zM19.5 19.5 30 30V12z"/></g></svg>
Inline
<span class="icon icon-size-small icon-state-default">
<span class="icon-markup">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#FFC857" d="m16 2 14 10v18H2V12L16 2z"/><path fill="#FFF" d="m16 2 14 10v18H2V12L16 2z" opacity=".25"/><path fill="#FFF" d="M6 6h20v20H6z"/><path fill="#212121" d="M25 25H7V7h18m1-1H6v20h20V6z" opacity=".5"/><path fill="#B9B9B9" d="M9 11h8v1H9zM9 9h8v1H9zM9 14h14v1H9zM9 16h14v1H9zM9 18h14v1H9zM9 20h14v1H9zM9 22h14v1H9z"/><path fill="#FFC857" d="M30 12v18H2V12l14 10 14-10z"/><g fill="#212121" opacity=".05"><path d="M2 12v18l10.5-10.5zM19.5 19.5 30 30V12z"/></g></svg>
</span>
</span>
Sprite
<span class="icon icon-size-small icon-state-default">
<span class="icon-markup">
<svg role="img"><use xlink:href="dist/sprites/install.svg#install-test-mail" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="install-test-mail" size="small" />
CSS Background Image
.myclass {
background-size: 1em 1em;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='%23FFC857' d='m16 2 14 10v18H2V12L16 2z'/%3e%3cpath fill='%23FFF' d='m16 2 14 10v18H2V12L16 2z' opacity='.25'/%3e%3cpath fill='%23FFF' d='M6 6h20v20H6z'/%3e%3cpath fill='%23212121' d='M25 25H7V7h18m1-1H6v20h20V6z' opacity='.5'/%3e%3cpath fill='%23B9B9B9' d='M9 11h8v1H9zM9 9h8v1H9zM9 14h14v1H9zM9 16h14v1H9zM9 18h14v1H9zM9 20h14v1H9zM9 22h14v1H9z'/%3e%3cpath fill='%23FFC857' d='M30 12v18H2V12l14 10 14-10z'/%3e%3cg fill='%23212121' opacity='.05'%3e%3cpath d='M2 12v18l10.5-10.5zM19.5 19.5 30 30V12z'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-install.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-install-test-mail;
}