module-config

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="#EF8534" d="M0 0h64v64H0z"/><path fill="#FFF" d="M16 16h2v32h-2zM26 16h2v32h-2zM36 16h2v32h-2zM46 16h2v32h-2z"/><g><path fill="#FFF" d="M14 22h6v14h-6z"/><path fill="#EF8534" d="M16 20h2v2h-2zM16 36h2v2h-2z" opacity=".5"/></g><g><path fill="#FFF" d="M24 26h6v14h-6z"/><path fill="#EF8534" d="M26 24h2v2h-2zM26 40h2v2h-2z" opacity=".5"/></g><g><path fill="#FFF" d="M34 28h6v14h-6z"/><path fill="#EF8534" d="M36 26h2v2h-2zM36 42h2v2h-2z" opacity=".5"/></g><g><path fill="#FFF" d="M44 24h6v14h-6z"/><path fill="#EF8534" d="M46 22h2v2h-2zM46 38h2v2h-2z" opacity=".5"/></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="#EF8534" d="M0 0h64v64H0z"/><path fill="#FFF" d="M16 16h2v32h-2zM26 16h2v32h-2zM36 16h2v32h-2zM46 16h2v32h-2z"/><g><path fill="#FFF" d="M14 22h6v14h-6z"/><path fill="#EF8534" d="M16 20h2v2h-2zM16 36h2v2h-2z" opacity=".5"/></g><g><path fill="#FFF" d="M24 26h6v14h-6z"/><path fill="#EF8534" d="M26 24h2v2h-2zM26 40h2v2h-2z" opacity=".5"/></g><g><path fill="#FFF" d="M34 28h6v14h-6z"/><path fill="#EF8534" d="M36 26h2v2h-2zM36 42h2v2h-2z" opacity=".5"/></g><g><path fill="#FFF" d="M44 24h6v14h-6z"/><path fill="#EF8534" d="M46 22h2v2h-2zM46 38h2v2h-2z" opacity=".5"/></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#module-config" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-config" 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='%23EF8534' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M16 16h2v32h-2zM26 16h2v32h-2zM36 16h2v32h-2zM46 16h2v32h-2z'/%3e%3cg%3e%3cpath fill='%23FFF' d='M14 22h6v14h-6z'/%3e%3cpath fill='%23EF8534' d='M16 20h2v2h-2zM16 36h2v2h-2z' opacity='.5'/%3e%3c/g%3e%3cg%3e%3cpath fill='%23FFF' d='M24 26h6v14h-6z'/%3e%3cpath fill='%23EF8534' d='M26 24h2v2h-2zM26 40h2v2h-2z' opacity='.5'/%3e%3c/g%3e%3cg%3e%3cpath fill='%23FFF' d='M34 28h6v14h-6z'/%3e%3cpath fill='%23EF8534' d='M36 26h2v2h-2zM36 42h2v2h-2z' opacity='.5'/%3e%3c/g%3e%3cg%3e%3cpath fill='%23FFF' d='M44 24h6v14h-6z'/%3e%3cpath fill='%23EF8534' d='M46 22h2v2h-2zM46 38h2v2h-2z' opacity='.5'/%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-config;
}

Download

Download