content-widget-image
Introduced in v1.11.0
Available in TYPO3
10.4 11.5
Buttons
Button Label Button Label
Button Label Button Label
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#FFF" d="M4 3h10v12H4V3z"/><path fill="#666" d="M4 3v12h10V3H4zm1 1h8v10H5V4z"/><path fill="#999" d="M5 4h8v1H5z"/><path fill="#B9B9B9" d="M2 1h1v1H2zM2 3h1v1H2zM2 5h1v1H2zM2 7h1v1H2zM2 9h1v1H2zM2 11h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM8 1h1v1H8zM10 1h1v1h-1z"/><g><path fill="#59F" d="M6 6h6v7H6V6z"/><path fill="#E9F2FF" d="M12 7.153A.977.977 0 0 0 11.5 7a1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V7.153zM10.5 10l-2 3H12v-1z"/><path fill="#ACF" d="M6 10.75V13h4.5l-3-4.5z"/></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 16 16"><path fill="#FFF" d="M4 3h10v12H4V3z"/><path fill="#666" d="M4 3v12h10V3H4zm1 1h8v10H5V4z"/><path fill="#999" d="M5 4h8v1H5z"/><path fill="#B9B9B9" d="M2 1h1v1H2zM2 3h1v1H2zM2 5h1v1H2zM2 7h1v1H2zM2 9h1v1H2zM2 11h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM8 1h1v1H8zM10 1h1v1h-1z"/><g><path fill="#59F" d="M6 6h6v7H6V6z"/><path fill="#E9F2FF" d="M12 7.153A.977.977 0 0 0 11.5 7a1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V7.153zM10.5 10l-2 3H12v-1z"/><path fill="#ACF" d="M6 10.75V13h4.5l-3-4.5z"/></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/content.svg#content-widget-image" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-widget-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 16 16'%3e%3cpath fill='%23FFF' d='M4 3h10v12H4V3z'/%3e%3cpath fill='%23666' d='M4 3v12h10V3H4zm1 1h8v10H5V4z'/%3e%3cpath fill='%23999' d='M5 4h8v1H5z'/%3e%3cpath fill='%23B9B9B9' d='M2 1h1v1H2zM2 3h1v1H2zM2 5h1v1H2zM2 7h1v1H2zM2 9h1v1H2zM2 11h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM8 1h1v1H8zM10 1h1v1h-1z'/%3e%3cg%3e%3cpath fill='%2359F' d='M6 6h6v7H6V6z'/%3e%3cpath fill='%23E9F2FF' d='M12 7.153A.977.977 0 0 0 11.5 7a1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V7.153zM10.5 10l-2 3H12v-1z'/%3e%3cpath fill='%23ACF' d='M6 10.75V13h4.5l-3-4.5z'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-content.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-content-widget-image;
}