content-database

Introduced in v3.4.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"><path fill="#FFC857" d="M8 1.5c-3.038 0-5.5.895-5.5 2v9c0 1.105 2.462 2 5.5 2s5.5-.895 5.5-2v-9c0-1.105-2.462-2-5.5-2z"/><path fill="#E8A33D" d="M2 3.5v9C2 14.142 5.019 15 8 15s6-.858 6-2.5v-9C14 .218 2 .218 2 3.5zM8 2c3.006 0 5 .903 5 1.5-.002.597-1.995 1.5-5 1.5s-4.998-.903-5-1.5C3 2.903 4.994 2 8 2zm5 4.5c-.002.597-1.995 1.5-5 1.5s-4.998-.903-5-1.5V4.932c1.13.701 3.067 1.067 5 1.067 1.933 0 3.87-.366 5-1.067V6.5zm0 1.432v1.569C12.998 10.098 11.005 11 8 11s-4.998-.902-5-1.5V7.933C4.13 8.634 6.067 9 8 9c1.933 0 3.87-.366 5-1.068zM8 14c-3.006 0-5-.902-5-1.5v-1.568C4.13 11.634 6.067 12 8 12c1.933 0 3.87-.366 5-1.068V12.5c0 .598-1.994 1.5-5 1.5z"/></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="#FFC857" d="M8 1.5c-3.038 0-5.5.895-5.5 2v9c0 1.105 2.462 2 5.5 2s5.5-.895 5.5-2v-9c0-1.105-2.462-2-5.5-2z"/><path fill="#E8A33D" d="M2 3.5v9C2 14.142 5.019 15 8 15s6-.858 6-2.5v-9C14 .218 2 .218 2 3.5zM8 2c3.006 0 5 .903 5 1.5-.002.597-1.995 1.5-5 1.5s-4.998-.903-5-1.5C3 2.903 4.994 2 8 2zm5 4.5c-.002.597-1.995 1.5-5 1.5s-4.998-.903-5-1.5V4.932c1.13.701 3.067 1.067 5 1.067 1.933 0 3.87-.366 5-1.067V6.5zm0 1.432v1.569C12.998 10.098 11.005 11 8 11s-4.998-.902-5-1.5V7.933C4.13 8.634 6.067 9 8 9c1.933 0 3.87-.366 5-1.068zM8 14c-3.006 0-5-.902-5-1.5v-1.568C4.13 11.634 6.067 12 8 12c1.933 0 3.87-.366 5-1.068V12.5c0 .598-1.994 1.5-5 1.5z"/></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-database" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-database" 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='%23FFC857' d='M8 1.5c-3.038 0-5.5.895-5.5 2v9c0 1.105 2.462 2 5.5 2s5.5-.895 5.5-2v-9c0-1.105-2.462-2-5.5-2z'/%3e%3cpath fill='%23E8A33D' d='M2 3.5v9C2 14.142 5.019 15 8 15s6-.858 6-2.5v-9C14 .218 2 .218 2 3.5zM8 2c3.006 0 5 .903 5 1.5-.002.597-1.995 1.5-5 1.5s-4.998-.903-5-1.5C3 2.903 4.994 2 8 2zm5 4.5c-.002.597-1.995 1.5-5 1.5s-4.998-.903-5-1.5V4.932c1.13.701 3.067 1.067 5 1.067 1.933 0 3.87-.366 5-1.067V6.5zm0 1.432v1.569C12.998 10.098 11.005 11 8 11s-4.998-.902-5-1.5V7.933C4.13 8.634 6.067 9 8 9c1.933 0 3.87-.366 5-1.068zM8 14c-3.006 0-5-.902-5-1.5v-1.568C4.13 11.634 6.067 12 8 12c1.933 0 3.87-.366 5-1.068V12.5c0 .598-1.994 1.5-5 1.5z'/%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-database;
}

Download

Download