module-redirects

Introduced in v1.6.0
Available in TYPO3 9.5 10.4 11.5

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#59F" d="M0 0h64v64H0V0z"/><path fill="#FFF" d="m45.146 17.854-3.61 3.61C39.01 19.168 35.675 17.75 32 17.75c-7.857 0-14.25 6.393-14.25 14.25S24.143 46.25 32 46.25c4.183 0 7.939-1.823 10.548-4.702l-2.827-2.827C37.84 40.878 35.08 42.25 32 42.25c-5.652 0-10.25-4.598-10.25-10.25S26.348 21.75 32 21.75c2.572 0 4.913.965 6.713 2.537l-2.86 2.86a.5.5 0 0 0 .354.853H45.5a.5.5 0 0 0 .5-.5v-9.293a.5.5 0 0 0-.854-.353z"/></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="#59F" d="M0 0h64v64H0V0z"/><path fill="#FFF" d="m45.146 17.854-3.61 3.61C39.01 19.168 35.675 17.75 32 17.75c-7.857 0-14.25 6.393-14.25 14.25S24.143 46.25 32 46.25c4.183 0 7.939-1.823 10.548-4.702l-2.827-2.827C37.84 40.878 35.08 42.25 32 42.25c-5.652 0-10.25-4.598-10.25-10.25S26.348 21.75 32 21.75c2.572 0 4.913.965 6.713 2.537l-2.86 2.86a.5.5 0 0 0 .354.853H45.5a.5.5 0 0 0 .5-.5v-9.293a.5.5 0 0 0-.854-.353z"/></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-redirects" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-redirects" 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='%2359F' d='M0 0h64v64H0V0z'/%3e%3cpath fill='%23FFF' d='m45.146 17.854-3.61 3.61C39.01 19.168 35.675 17.75 32 17.75c-7.857 0-14.25 6.393-14.25 14.25S24.143 46.25 32 46.25c4.183 0 7.939-1.823 10.548-4.702l-2.827-2.827C37.84 40.878 35.08 42.25 32 42.25c-5.652 0-10.25-4.598-10.25-10.25S26.348 21.75 32 21.75c2.572 0 4.913.965 6.713 2.537l-2.86 2.86a.5.5 0 0 0 .354.853H45.5a.5.5 0 0 0 .5-.5v-9.293a.5.5 0 0 0-.854-.353z'/%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-redirects;
}

Download

Download