content-building

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="#EFEFEF" d="M14 15H2V1.2c0-.1.1-.2.2-.2h11.5c.2 0 .3.1.3.2V15z"/><path fill="#999" d="M13 2v12H3V2h10m.8-1H2.2c-.1 0-.2.1-.2.2V15h12V1.2c0-.1-.1-.2-.2-.2z"/><path fill="#515151" d="M1 14h14v1H1z"/><path fill="#8C8C8C" d="M7 12h2v2H7z"/><path fill="#313131" d="M4 3h2v1H4zM10 3h2v1h-2zM10 5h2v1h-2zM4 5h2v1H4zM4 7h2v1H4zM7 3h2v1H7zM7 5h2v1H7zM7 7h2v1H7zM10 7h2v1h-2zM4 9h2v1H4zM7 9h2v1H7zM10 9h2v1h-2z"/></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="#EFEFEF" d="M14 15H2V1.2c0-.1.1-.2.2-.2h11.5c.2 0 .3.1.3.2V15z"/><path fill="#999" d="M13 2v12H3V2h10m.8-1H2.2c-.1 0-.2.1-.2.2V15h12V1.2c0-.1-.1-.2-.2-.2z"/><path fill="#515151" d="M1 14h14v1H1z"/><path fill="#8C8C8C" d="M7 12h2v2H7z"/><path fill="#313131" d="M4 3h2v1H4zM10 3h2v1h-2zM10 5h2v1h-2zM4 5h2v1H4zM4 7h2v1H4zM7 3h2v1H7zM7 5h2v1H7zM7 7h2v1H7zM10 7h2v1h-2zM4 9h2v1H4zM7 9h2v1H7zM10 9h2v1h-2z"/></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-building" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-building" 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='%23EFEFEF' d='M14 15H2V1.2c0-.1.1-.2.2-.2h11.5c.2 0 .3.1.3.2V15z'/%3e%3cpath fill='%23999' d='M13 2v12H3V2h10m.8-1H2.2c-.1 0-.2.1-.2.2V15h12V1.2c0-.1-.1-.2-.2-.2z'/%3e%3cpath fill='%23515151' d='M1 14h14v1H1z'/%3e%3cpath fill='%238C8C8C' d='M7 12h2v2H7z'/%3e%3cpath fill='%23313131' d='M4 3h2v1H4zM10 3h2v1h-2zM10 5h2v1h-2zM4 5h2v1H4zM4 7h2v1H4zM7 3h2v1H7zM7 5h2v1H7zM7 7h2v1H7zM10 7h2v1h-2zM4 9h2v1H4zM7 9h2v1H7zM10 9h2v1h-2z'/%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-building;
}

Download

Download