module-template

Introduced in v3.6.0
Available in TYPO3 12.4 13.x

Module Menu Preview

Usage

Icon Identifier

module-template

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="currentColor" d="M26 38a2.004 2.004 0 0 1-1.41-3.42l2.59-2.59-2.59-2.59c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0l4 4c.78.78.78 2.05 0 2.83l-4 4c-.39.39-.9.59-1.41.59ZM38 42h-6c-1.1 0-2-.9-2-2s.9-2 2-2h6c1.1 0 2 .9 2 2s-.9 2-2 2Z"/><path fill="var(--icon-color-accent, #ff8700)" d="M34.34 16 44 25.66V48H20V16h14.34M36 12H18c-1.1 0-2 .9-2 2v36c0 1.1.9 2 2 2h28c1.1 0 2-.9 2-2V24L36 12Z"/><g opacity=".4"><path fill="currentColor" d="M34 16v7.67c0 1.12 1.19 2.33 2.33 2.33H44v-.34L34.34 16H34Z"/></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 64 64"><path fill="currentColor" d="M26 38a2.004 2.004 0 0 1-1.41-3.42l2.59-2.59-2.59-2.59c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0l4 4c.78.78.78 2.05 0 2.83l-4 4c-.39.39-.9.59-1.41.59ZM38 42h-6c-1.1 0-2-.9-2-2s.9-2 2-2h6c1.1 0 2 .9 2 2s-.9 2-2 2Z"/><path fill="var(--icon-color-accent, #ff8700)" d="M34.34 16 44 25.66V48H20V16h14.34M36 12H18c-1.1 0-2 .9-2 2v36c0 1.1.9 2 2 2h28c1.1 0 2-.9 2-2V24L36 12Z"/><g opacity=".4"><path fill="currentColor" d="M34 16v7.67c0 1.12 1.19 2.33 2.33 2.33H44v-.34L34.34 16H34Z"/></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/module.svg?v=1769809642593#module-template" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-template" size="small" />

TYPO3 Web Component

<typo3-backend-icon identifier="module-template" 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 64 64'%3e%3cpath fill='%23fff' d='M26 38a2.004 2.004 0 0 1-1.41-3.42l2.59-2.59-2.59-2.59c-.78-.78-.78-2.05 0-2.83s2.05-.78 2.83 0l4 4c.78.78.78 2.05 0 2.83l-4 4c-.39.39-.9.59-1.41.59ZM38 42h-6c-1.1 0-2-.9-2-2s.9-2 2-2h6c1.1 0 2 .9 2 2s-.9 2-2 2Z'/%3e%3cpath fill='var(--icon-color-accent, %23ff8700)' d='M34.34 16 44 25.66V48H20V16h14.34M36 12H18c-1.1 0-2 .9-2 2v36c0 1.1.9 2 2 2h28c1.1 0 2-.9 2-2V24L36 12Z'/%3e%3cg opacity='.4'%3e%3cpath fill='%23fff' d='M34 16v7.67c0 1.12 1.19 2.33 2.33 2.33H44v-.34L34.34 16H34Z'/%3e%3c/g%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-template;
}

Alias

  • module-templates

Download

Download