content-package
Introduced in v2.3.1
Available in TYPO3
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="#FFC857" d="M8 0 0 4v8l8 4 8-4V4z"/><path fill="#E8A33D" d="M8 0 0 4v8l8 4 8-4V4L8 0zm6.3 4.3L8 7.4 1.7 4.3 8 1.1l6.3 3.2zM1 5.1l6.5 3.2v6.3L1 11.4V5.1zm7.5 9.5V8.3L15 5.1v6.3l-6.5 3.2z"/><path fill="#9F6358" d="M5 1.5 2.5 2.8l8 4v2L13 7.5v-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 16 16"><path fill="#FFC857" d="M8 0 0 4v8l8 4 8-4V4z"/><path fill="#E8A33D" d="M8 0 0 4v8l8 4 8-4V4L8 0zm6.3 4.3L8 7.4 1.7 4.3 8 1.1l6.3 3.2zM1 5.1l6.5 3.2v6.3L1 11.4V5.1zm7.5 9.5V8.3L15 5.1v6.3l-6.5 3.2z"/><path fill="#9F6358" d="M5 1.5 2.5 2.8l8 4v2L13 7.5v-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/content.svg#content-package" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-package" 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='%23FFC857' d='M8 0 0 4v8l8 4 8-4V4z'/%3e%3cpath fill='%23E8A33D' d='M8 0 0 4v8l8 4 8-4V4L8 0zm6.3 4.3L8 7.4 1.7 4.3 8 1.1l6.3 3.2zM1 5.1l6.5 3.2v6.3L1 11.4V5.1zm7.5 9.5V8.3L15 5.1v6.3l-6.5 3.2z'/%3e%3cpath fill='%239F6358' d='M5 1.5 2.5 2.8l8 4v2L13 7.5v-2z'/%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-package;
}