content-container

Introduced in v3.0.0

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="#666" d="M9.381.993 1.127 5.636A.25.25 0 0 0 1 5.854v5.934c0 .09.048.173.126.217l5.25 3a.25.25 0 0 0 .248 0l8.25-4.714a.251.251 0 0 0 .126-.217V4.359a.25.25 0 0 0-.121-.214L9.632.997a.248.248 0 0 0-.251-.004z"/><path fill="#B9B9B9" d="m6 13.639-4-2.286v-4.47l4 2.4zM2.495 6.014l6.997-3.936 4.013 2.408-6.997 3.936zM10 7.605v4.319l-1 .572V8.167zM11 7.042l1-.562v4.302l-1 .571zM7 9.292l1-.562v4.337l-1 .572zM14 9.639l-1 .571V5.918l1-.563z"/></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="#666" d="M9.381.993 1.127 5.636A.25.25 0 0 0 1 5.854v5.934c0 .09.048.173.126.217l5.25 3a.25.25 0 0 0 .248 0l8.25-4.714a.251.251 0 0 0 .126-.217V4.359a.25.25 0 0 0-.121-.214L9.632.997a.248.248 0 0 0-.251-.004z"/><path fill="#B9B9B9" d="m6 13.639-4-2.286v-4.47l4 2.4zM2.495 6.014l6.997-3.936 4.013 2.408-6.997 3.936zM10 7.605v4.319l-1 .572V8.167zM11 7.042l1-.562v4.302l-1 .571zM7 9.292l1-.562v4.337l-1 .572zM14 9.639l-1 .571V5.918l1-.563z"/></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-container" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-container" 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='%23666' d='M9.381.993 1.127 5.636A.25.25 0 0 0 1 5.854v5.934c0 .09.048.173.126.217l5.25 3a.25.25 0 0 0 .248 0l8.25-4.714a.251.251 0 0 0 .126-.217V4.359a.25.25 0 0 0-.121-.214L9.632.997a.248.248 0 0 0-.251-.004z'/%3e%3cpath fill='%23B9B9B9' d='m6 13.639-4-2.286v-4.47l4 2.4zM2.495 6.014l6.997-3.936 4.013 2.408-6.997 3.936zM10 7.605v4.319l-1 .572V8.167zM11 7.042l1-.562v4.302l-1 .571zM7 9.292l1-.562v4.337l-1 .572zM14 9.639l-1 .571V5.918l1-.563z'/%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-container;
}

Download

Download