install-test-image
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="#8C8C8C" d="M29.5 28h-27c-.3 0-.5-.2-.5-.5v-23c0-.3.2-.5.5-.5h27c.3 0 .5.2.5.5v23c0 .3-.2.5-.5.5z"/><path fill="#EFEFEF" d="M3 5h26v22H3z"/><path fill="#ABD7FF" d="M4 6h24v20H4z"/><path fill="#FFF" d="M25.7 13c.2-.3.3-.6.3-1 0-1.1-.9-2-2-2-.4 0-.8.1-1.1.3-.3-.7-1-1.3-1.9-1.3s-1.6.6-1.9 1.3c-.3-.2-.7-.3-1.1-.3-1.1 0-2 .9-2 2 0 .4.1.7.3 1h9.4z"/><circle cx="8" cy="10" r="2" fill="#FFC857"/><path fill="#79A548" d="M18 26H4l9-13 5 5z"/><path fill="#AAD400" d="M28 26H12L23 8l5 5z"/><path fill="#FFF" d="M8 18c-.4 0-.8.1-1.1.3-.3-.7-1-1.3-1.9-1.3-.4 0-.7.1-1 .3V21h5.7c.2-.3.3-.6.3-1 0-1.1-.9-2-2-2z"/></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="#8C8C8C" d="M29.5 28h-27c-.3 0-.5-.2-.5-.5v-23c0-.3.2-.5.5-.5h27c.3 0 .5.2.5.5v23c0 .3-.2.5-.5.5z"/><path fill="#EFEFEF" d="M3 5h26v22H3z"/><path fill="#ABD7FF" d="M4 6h24v20H4z"/><path fill="#FFF" d="M25.7 13c.2-.3.3-.6.3-1 0-1.1-.9-2-2-2-.4 0-.8.1-1.1.3-.3-.7-1-1.3-1.9-1.3s-1.6.6-1.9 1.3c-.3-.2-.7-.3-1.1-.3-1.1 0-2 .9-2 2 0 .4.1.7.3 1h9.4z"/><circle cx="8" cy="10" r="2" fill="#FFC857"/><path fill="#79A548" d="M18 26H4l9-13 5 5z"/><path fill="#AAD400" d="M28 26H12L23 8l5 5z"/><path fill="#FFF" d="M8 18c-.4 0-.8.1-1.1.3-.3-.7-1-1.3-1.9-1.3-.4 0-.7.1-1 .3V21h5.7c.2-.3.3-.6.3-1 0-1.1-.9-2-2-2z"/></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-image" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="install-test-image" 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='%238C8C8C' d='M29.5 28h-27c-.3 0-.5-.2-.5-.5v-23c0-.3.2-.5.5-.5h27c.3 0 .5.2.5.5v23c0 .3-.2.5-.5.5z'/%3e%3cpath fill='%23EFEFEF' d='M3 5h26v22H3z'/%3e%3cpath fill='%23ABD7FF' d='M4 6h24v20H4z'/%3e%3cpath fill='%23FFF' d='M25.7 13c.2-.3.3-.6.3-1 0-1.1-.9-2-2-2-.4 0-.8.1-1.1.3-.3-.7-1-1.3-1.9-1.3s-1.6.6-1.9 1.3c-.3-.2-.7-.3-1.1-.3-1.1 0-2 .9-2 2 0 .4.1.7.3 1h9.4z'/%3e%3ccircle cx='8' cy='10' r='2' fill='%23FFC857'/%3e%3cpath fill='%2379A548' d='M18 26H4l9-13 5 5z'/%3e%3cpath fill='%23AAD400' d='M28 26H12L23 8l5 5z'/%3e%3cpath fill='%23FFF' d='M8 18c-.4 0-.8.1-1.1.3-.3-.7-1-1.3-1.9-1.3-.4 0-.7.1-1 .3V21h5.7c.2-.3.3-.6.3-1 0-1.1-.9-2-2-2z'/%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-image;
}