content-extension
Tags: cube, box, add-on, plugin, package, third party, composer
Introduced in v2.3.1
Available in TYPO3
Buttons
Usage
Icon Identifier
content-extensionMarkup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#e8a33d" d="m14.3 3.2-6-1.7-.3-.1-.3.1-6 1.7-.7.2v9.2l.7.2 6 1.7.3.1.3-.1 6-1.7.7-.2V3.4z"/><path fill="#ffc857" d="m8 2.4 5 1.5-5 1.4-5.1-1.4zM2 4.7l5.5 1.5v7.2L2 11.9zM8.5 13.4V6.2L14 4.6v7.3z"/></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="#e8a33d" d="m14.3 3.2-6-1.7-.3-.1-.3.1-6 1.7-.7.2v9.2l.7.2 6 1.7.3.1.3-.1 6-1.7.7-.2V3.4z"/><path fill="#ffc857" d="m8 2.4 5 1.5-5 1.4-5.1-1.4zM2 4.7l5.5 1.5v7.2L2 11.9zM8.5 13.4V6.2L14 4.6v7.3z"/></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?v=1792707318708#content-extension" /></svg>
</span>
</span>TYPO3 ViewHelper
<core:icon identifier="content-extension" size="small" />TYPO3 Web Component
<typo3-backend-icon identifier="content-extension" size="small"></typo3-backend-icon>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='%23e8a33d' d='m14.3 3.2-6-1.7-.3-.1-.3.1-6 1.7-.7.2v9.2l.7.2 6 1.7.3.1.3-.1 6-1.7.7-.2V3.4z'/%3e%3cpath fill='%23ffc857' d='m8 2.4 5 1.5-5 1.4-5.1-1.4zM2 4.7l5.5 1.5v7.2L2 11.9zM8.5 13.4V6.2L14 4.6v7.3z'/%3e%3c/svg%3e");
}Sass Background Variable
@use "@typo3/icons/dist/icons" as *;
@use "@typo3/icons/dist/scss/icons-variables-content" as *;
.myclass {
background-size: 1em 1em;
background-image: $icon-content-extension;
}Download