modulegroup-file

Introduced in v1.10.0
Available in TYPO3 10.4 11.5

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g fill="currentColor"><path d="M44 22v20H20V22h24zm-25-2a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V21a1 1 0 0 0-1-1H19z"/><path d="M36 40H22l7-12 7 12z"/><path d="M42 40H30l6-8 6 8z"/><circle cx="40" cy="26" r="2"/></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"><g fill="currentColor"><path d="M44 22v20H20V22h24zm-25-2a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V21a1 1 0 0 0-1-1H19z"/><path d="M36 40H22l7-12 7 12z"/><path d="M42 40H30l6-8 6 8z"/><circle cx="40" cy="26" r="2"/></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/modulegroup.svg#modulegroup-file" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="modulegroup-file" 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%3cg fill='%23fff'%3e%3cpath d='M44 22v20H20V22h24zm-25-2a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V21a1 1 0 0 0-1-1H19z'/%3e%3cpath d='M36 40H22l7-12 7 12z'/%3e%3cpath d='M42 40H30l6-8 6 8z'/%3e%3ccircle cx='40' cy='26' r='2'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-modulegroup.scss";

.myclass {
    background-size: 1em 1em;
    background-image: $icon-modulegroup-file;
}

Download

Download