actions-viewmode-compare

Introduced in v3.3.0
Available in TYPO3 12.4 13.x

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g fill="currentColor"><path d="M9 14H2.5a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9V1H2.5C1.673 1 1 1.673 1 2.5v11c0 .827.673 1.5 1.5 1.5H9v-1zM15 13h-1v.5a.5.5 0 0 1-.5.5H13v1h.5c.813 0 1.477-.65 1.5-1.459V13zM15 2.459A1.502 1.502 0 0 0 13.5 1H13v1h.5a.5.5 0 0 1 .5.5V3h1v-.541z"/><path d="M7 0h1v16H7zM10 1h2v1h-2zM10 14h2v1h-2zM14 4h1v2h-1zM14 10h1v2h-1zM14 7h1v2h-1z"/></g></svg>

Inline

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g fill="currentColor"><path d="M9 14H2.5a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9V1H2.5C1.673 1 1 1.673 1 2.5v11c0 .827.673 1.5 1.5 1.5H9v-1zM15 13h-1v.5a.5.5 0 0 1-.5.5H13v1h.5c.813 0 1.477-.65 1.5-1.459V13zM15 2.459A1.502 1.502 0 0 0 13.5 1H13v1h.5a.5.5 0 0 1 .5.5V3h1v-.541z"/><path d="M7 0h1v16H7zM10 1h2v1h-2zM10 14h2v1h-2zM14 4h1v2h-1zM14 10h1v2h-1zM14 7h1v2h-1z"/></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/actions.svg#actions-viewmode-compare" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-viewmode-compare" 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' xml:space='preserve' viewBox='0 0 16 16'%3e%3cg fill='%23fff'%3e%3cpath d='M9 14H2.5a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9V1H2.5C1.673 1 1 1.673 1 2.5v11c0 .827.673 1.5 1.5 1.5H9v-1zM15 13h-1v.5a.5.5 0 0 1-.5.5H13v1h.5c.813 0 1.477-.65 1.5-1.459V13zM15 2.459A1.502 1.502 0 0 0 13.5 1H13v1h.5a.5.5 0 0 1 .5.5V3h1v-.541z'/%3e%3cpath d='M7 0h1v16H7zM10 1h2v1h-2zM10 14h2v1h-2zM14 4h1v2h-1zM14 10h1v2h-1zM14 7h1v2h-1z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-actions.scss";

.myclass {
    background-size: 1em 1em;
    background-image: $icon-actions-viewmode-compare;
}

Download

Download