module-documentation
Introduced in v1.0.0
Available in TYPO3
7.6 8.6 9.5 10.4 11.5
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#DA6C39" d="M0 0h64v64H0z"/><path fill="#FFF" d="m43.6 51.6-6.8-6.8c-.3-.3-.1-.9.4-.9H42v-8h4v8h4.8c.4 0 .7.5.4.9l-6.8 6.8c-.2.2-.6.2-.8 0z"/><path fill="#FFF" d="M34 47.7c-1.3-1.3-1.7-3.2-1-4.9.7-1.7 2.3-2.8 4.2-2.8h.8v-8h8V15c0-.6-.4-1-1-1H19c-.6 0-1 .4-1 1v34c0 .6.4 1 1 1h17.3L34 47.7z"/><path fill="#DA6C39" d="M20 16h2v32h-2zM26 18h16v2H26z"/></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 64 64"><path fill="#DA6C39" d="M0 0h64v64H0z"/><path fill="#FFF" d="m43.6 51.6-6.8-6.8c-.3-.3-.1-.9.4-.9H42v-8h4v8h4.8c.4 0 .7.5.4.9l-6.8 6.8c-.2.2-.6.2-.8 0z"/><path fill="#FFF" d="M34 47.7c-1.3-1.3-1.7-3.2-1-4.9.7-1.7 2.3-2.8 4.2-2.8h.8v-8h8V15c0-.6-.4-1-1-1H19c-.6 0-1 .4-1 1v34c0 .6.4 1 1 1h17.3L34 47.7z"/><path fill="#DA6C39" d="M20 16h2v32h-2zM26 18h16v2H26z"/></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/module.svg#module-documentation" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-documentation" 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 64 64'%3e%3cpath fill='%23DA6C39' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='m43.6 51.6-6.8-6.8c-.3-.3-.1-.9.4-.9H42v-8h4v8h4.8c.4 0 .7.5.4.9l-6.8 6.8c-.2.2-.6.2-.8 0z'/%3e%3cpath fill='%23FFF' d='M34 47.7c-1.3-1.3-1.7-3.2-1-4.9.7-1.7 2.3-2.8 4.2-2.8h.8v-8h8V15c0-.6-.4-1-1-1H19c-.6 0-1 .4-1 1v34c0 .6.4 1 1 1h17.3L34 47.7z'/%3e%3cpath fill='%23DA6C39' d='M20 16h2v32h-2zM26 18h16v2H26z'/%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-module.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-module-documentation;
}