module-filelist

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="#4C7E3A" d="M0 0h64v64H0z"/><path fill="#FFF" d="M36 30h10c0-.692-.097-1.36-.262-2H36v2zM36 26h8.921a8.02 8.02 0 0 0-1.642-2H36v2zM36 34h14.648a5.958 5.958 0 0 0-1.195-2H36v2zM34 40V21.865A9.959 9.959 0 0 0 27 19c-5.413 0-9.81 4.304-9.984 9.675A6.995 6.995 0 0 0 20 42h14v-2zM36 38h14.651A5.97 5.97 0 0 0 51 36H36v2zM36 40v2h9a5.976 5.976 0 0 0 4.463-2H36z"/></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="#4C7E3A" d="M0 0h64v64H0z"/><path fill="#FFF" d="M36 30h10c0-.692-.097-1.36-.262-2H36v2zM36 26h8.921a8.02 8.02 0 0 0-1.642-2H36v2zM36 34h14.648a5.958 5.958 0 0 0-1.195-2H36v2zM34 40V21.865A9.959 9.959 0 0 0 27 19c-5.413 0-9.81 4.304-9.984 9.675A6.995 6.995 0 0 0 20 42h14v-2zM36 38h14.651A5.97 5.97 0 0 0 51 36H36v2zM36 40v2h9a5.976 5.976 0 0 0 4.463-2H36z"/></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-filelist" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-filelist" 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='%234C7E3A' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M36 30h10c0-.692-.097-1.36-.262-2H36v2zM36 26h8.921a8.02 8.02 0 0 0-1.642-2H36v2zM36 34h14.648a5.958 5.958 0 0 0-1.195-2H36v2zM34 40V21.865A9.959 9.959 0 0 0 27 19c-5.413 0-9.81 4.304-9.984 9.675A6.995 6.995 0 0 0 20 42h14v-2zM36 38h14.651A5.97 5.97 0 0 0 51 36H36v2zM36 40v2h9a5.976 5.976 0 0 0 4.463-2H36z'/%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-filelist;
}

Download

Download