content-gallery
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="#999" d="M5 1h9v11H5z"/><path fill="#FFF" d="M6 2h7v9H6z"/><g><path fill="#59F" d="M7 3h5v7H7V3z"/><path fill="#E9F2FF" d="M12 3.653a.977.977 0 0 0-.5-.153 1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V3.653zM11 7l-2 3h3V8.5z"/><path fill="#ACF" d="M7 7v3h4L8 5.5z"/></g><path fill="#666" d="M2 4h9v11H2z"/><path fill="#FFF" d="M3 5h7v9H3z"/><g><path fill="#59F" d="M4 6h5v7H4V6z"/><path fill="#E9F2FF" d="M9 6.653a.977.977 0 0 0-.5-.153 1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V6.653zM8 10l-2 3h3v-1.5z"/><path fill="#ACF" d="M4 10v3h4L5 8.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="#999" d="M5 1h9v11H5z"/><path fill="#FFF" d="M6 2h7v9H6z"/><g><path fill="#59F" d="M7 3h5v7H7V3z"/><path fill="#E9F2FF" d="M12 3.653a.977.977 0 0 0-.5-.153 1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V3.653zM11 7l-2 3h3V8.5z"/><path fill="#ACF" d="M7 7v3h4L8 5.5z"/></g><path fill="#666" d="M2 4h9v11H2z"/><path fill="#FFF" d="M3 5h7v9H3z"/><g><path fill="#59F" d="M4 6h5v7H4V6z"/><path fill="#E9F2FF" d="M9 6.653a.977.977 0 0 0-.5-.153 1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V6.653zM8 10l-2 3h3v-1.5z"/><path fill="#ACF" d="M4 10v3h4L5 8.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-gallery" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-gallery" 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='%23999' d='M5 1h9v11H5z'/%3e%3cpath fill='%23FFF' d='M6 2h7v9H6z'/%3e%3cg%3e%3cpath fill='%2359F' d='M7 3h5v7H7V3z'/%3e%3cpath fill='%23E9F2FF' d='M12 3.653a.977.977 0 0 0-.5-.153 1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V3.653zM11 7l-2 3h3V8.5z'/%3e%3cpath fill='%23ACF' d='M7 7v3h4L8 5.5z'/%3e%3c/g%3e%3cpath fill='%23666' d='M2 4h9v11H2z'/%3e%3cpath fill='%23FFF' d='M3 5h7v9H3z'/%3e%3cg%3e%3cpath fill='%2359F' d='M4 6h5v7H4V6z'/%3e%3cpath fill='%23E9F2FF' d='M9 6.653a.977.977 0 0 0-.5-.153 1 1 0 0 0 0 2 .977.977 0 0 0 .5-.153V6.653zM8 10l-2 3h3v-1.5z'/%3e%3cpath fill='%23ACF' d='M4 10v3h4L5 8.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-gallery;
}