module-styleguide

Introduced in v5.0.1

Module Menu Preview

Usage

Icon Identifier

module-styleguide

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="currentColor" d="M16 28v2.56a2 2 0 0 0 1.37 1.9L28 36h8l10.63-3.54a2 2 0 0 0 1.37-1.9V28H16Z"/><path fill="currentColor" d="M28 40v8c0 2.21 1.79 4 4 4s4-1.79 4-4v-8h-8Z" opacity=".4"/><path fill="var(--icon-color-accent, #ff8700)" d="M46 12H18c-1.1 0-2 .9-2 2v14h4V16h4v4c0 1.1.9 2 2 2s2-.9 2-2v-4h4v6c0 1.1.9 2 2 2s2-.9 2-2v-6h8v12h4V14c0-1.1-.9-2-2-2Z"/></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="currentColor" d="M16 28v2.56a2 2 0 0 0 1.37 1.9L28 36h8l10.63-3.54a2 2 0 0 0 1.37-1.9V28H16Z"/><path fill="currentColor" d="M28 40v8c0 2.21 1.79 4 4 4s4-1.79 4-4v-8h-8Z" opacity=".4"/><path fill="var(--icon-color-accent, #ff8700)" d="M46 12H18c-1.1 0-2 .9-2 2v14h4V16h4v4c0 1.1.9 2 2 2s2-.9 2-2v-4h4v6c0 1.1.9 2 2 2s2-.9 2-2v-6h8v12h4V14c0-1.1-.9-2-2-2Z"/></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-styleguide" /></svg>
    </span>
</span>

TYPO3 ViewHelper

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

TYPO3 Web Component

<typo3-backend-icon identifier="module-styleguide" 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='%23fff' d='M16 28v2.56a2 2 0 0 0 1.37 1.9L28 36h8l10.63-3.54a2 2 0 0 0 1.37-1.9V28H16Z'/%3e%3cpath fill='%23fff' d='M28 40v8c0 2.21 1.79 4 4 4s4-1.79 4-4v-8h-8Z' opacity='.4'/%3e%3cpath fill='var(--icon-color-accent, %23ff8700)' d='M46 12H18c-1.1 0-2 .9-2 2v14h4V16h4v4c0 1.1.9 2 2 2s2-.9 2-2v-4h4v6c0 1.1.9 2 2 2s2-.9 2-2v-6h8v12h4V14c0-1.1-.9-2-2-2Z'/%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-styleguide;
}

Download

Download