content-book

Introduced in v1.11.0
Available in TYPO3 10.4 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"><path fill="#9F6358" d="M3 1h9a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3V1z"/><path fill="#6F453D" d="M12 2v12H4V2h8m0-1H3v14h9a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z"/><path fill="#BC928A" d="M10.75 6h-5.5A.25.25 0 0 1 5 5.75v-2.5A.25.25 0 0 1 5.25 3h5.5a.25.25 0 0 1 .25.25v2.5a.25.25 0 0 1-.25.25z"/><path fill="#53342E" d="M3 1h1v14H3z"/><path fill="#402823" d="M11 11h2v2h-2z"/><path fill="#BC928A" d="M5 12h2v1H5z"/></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"><path fill="#9F6358" d="M3 1h9a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3V1z"/><path fill="#6F453D" d="M12 2v12H4V2h8m0-1H3v14h9a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z"/><path fill="#BC928A" d="M10.75 6h-5.5A.25.25 0 0 1 5 5.75v-2.5A.25.25 0 0 1 5.25 3h5.5a.25.25 0 0 1 .25.25v2.5a.25.25 0 0 1-.25.25z"/><path fill="#53342E" d="M3 1h1v14H3z"/><path fill="#402823" d="M11 11h2v2h-2z"/><path fill="#BC928A" d="M5 12h2v1H5z"/></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-book" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-book" 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%3cpath fill='%239F6358' d='M3 1h9a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3V1z'/%3e%3cpath fill='%236F453D' d='M12 2v12H4V2h8m0-1H3v14h9a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z'/%3e%3cpath fill='%23BC928A' d='M10.75 6h-5.5A.25.25 0 0 1 5 5.75v-2.5A.25.25 0 0 1 5.25 3h5.5a.25.25 0 0 1 .25.25v2.5a.25.25 0 0 1-.25.25z'/%3e%3cpath fill='%2353342E' d='M3 1h1v14H3z'/%3e%3cpath fill='%23402823' d='M11 11h2v2h-2z'/%3e%3cpath fill='%23BC928A' d='M5 12h2v1H5z'/%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-book;
}

Download

Download