content-messages

Tags: content-comments
Introduced in v2.3.1
Available in TYPO3 11.5

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g><path fill="#FFF" d="M12 4H3v6h9z"/><path fill="#BBB" d="M12 4v6H3V4h9m1-1H2v8h11V3z"/></g><g><path fill="#FFF" d="M10.2 12.5H4.5v-7h10v7h-2v1.6z"/><path fill="#999" d="M14 6v6h-2v1.1l-1.4-1-.3-.1H5V6h9m1-1H4v8h6l3 2v-2h2V5z"/></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 16 16"><g><path fill="#FFF" d="M12 4H3v6h9z"/><path fill="#BBB" d="M12 4v6H3V4h9m1-1H2v8h11V3z"/></g><g><path fill="#FFF" d="M10.2 12.5H4.5v-7h10v7h-2v1.6z"/><path fill="#999" d="M14 6v6h-2v1.1l-1.4-1-.3-.1H5V6h9m1-1H4v8h6l3 2v-2h2V5z"/></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/content.svg#content-messages" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-messages" 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 16 16'%3e%3cg%3e%3cpath fill='%23FFF' d='M12 4H3v6h9z'/%3e%3cpath fill='%23BBB' d='M12 4v6H3V4h9m1-1H2v8h11V3z'/%3e%3c/g%3e%3cg%3e%3cpath fill='%23FFF' d='M10.2 12.5H4.5v-7h10v7h-2v1.6z'/%3e%3cpath fill='%23999' d='M14 6v6h-2v1.1l-1.4-1-.3-.1H5V6h9m1-1H4v8h6l3 2v-2h2V5z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-content-messages;
}

Download

Download