module-func

Introduced in v1.0.0
Available in TYPO3 7.6 8.6 9.5 10.4 11.5 12.4 13.x

Module Menu Preview

Usage

Icon Identifier

module-func

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="var(--icon-color-accent, #ff8700)" d="M16 24h32v10H16z" opacity=".4"/><path fill="currentColor" d="M50 20h-8v-4.2c0-2.09-1.76-3.8-3.92-3.8H25.92C23.76 12 22 13.71 22 15.8V20h-8c-1.1 0-2 .9-2 2v26c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V22c0-1.1-.9-2-2-2Zm-24-4h12v4H26v-4Zm22 30H16V36h32v10Zm0-14H16v-8h32v8Z"/><path fill="currentColor" d="M27.33 40h9.33c.74 0 1.33-.6 1.33-1.33V36h-12v2.67c0 .74.6 1.33 1.33 1.33Z"/></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="var(--icon-color-accent, #ff8700)" d="M16 24h32v10H16z" opacity=".4"/><path fill="currentColor" d="M50 20h-8v-4.2c0-2.09-1.76-3.8-3.92-3.8H25.92C23.76 12 22 13.71 22 15.8V20h-8c-1.1 0-2 .9-2 2v26c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V22c0-1.1-.9-2-2-2Zm-24-4h12v4H26v-4Zm22 30H16V36h32v10Zm0-14H16v-8h32v8Z"/><path fill="currentColor" d="M27.33 40h9.33c.74 0 1.33-.6 1.33-1.33V36h-12v2.67c0 .74.6 1.33 1.33 1.33Z"/></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-func" /></svg>
    </span>
</span>

TYPO3 ViewHelper

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

TYPO3 Web Component

<typo3-backend-icon identifier="module-func" 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='var(--icon-color-accent, %23ff8700)' d='M16 24h32v10H16z' opacity='.4'/%3e%3cpath fill='%23fff' d='M50 20h-8v-4.2c0-2.09-1.76-3.8-3.92-3.8H25.92C23.76 12 22 13.71 22 15.8V20h-8c-1.1 0-2 .9-2 2v26c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V22c0-1.1-.9-2-2-2Zm-24-4h12v4H26v-4Zm22 30H16V36h32v10Zm0-14H16v-8h32v8Z'/%3e%3cpath fill='%23fff' d='M27.33 40h9.33c.74 0 1.33-.6 1.33-1.33V36h-12v2.67c0 .74.6 1.33 1.33 1.33Z'/%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-func;
}

Download

Download