content-coffee

Introduced in v1.1.0
Available in TYPO3 7.6 8.6 9.5 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="M12 15H4L2.5 3h11z"/><path fill="#FFF" d="M12 12H4L3 6h10z" opacity=".3"/><path fill="#6F453E" d="m12.4 4-1.3 10H4.9L3.6 4h8.8m1.1-1h-11L4 15h8l1.5-12z"/><circle cx="8" cy="9" r="2.5" fill="#FFF"/><path fill="#212121" d="M2 3h12v1H2z"/><path fill="#333" d="M4 1h8v2H4z"/><ellipse cx="8" cy="9" fill="#9F6358" rx="1.5" ry="1" transform="rotate(-70.001 8 9)"/><path fill="#FFF" d="m8.761 6.616.282.103-1.71 4.699-.282-.103z"/></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="M12 15H4L2.5 3h11z"/><path fill="#FFF" d="M12 12H4L3 6h10z" opacity=".3"/><path fill="#6F453E" d="m12.4 4-1.3 10H4.9L3.6 4h8.8m1.1-1h-11L4 15h8l1.5-12z"/><circle cx="8" cy="9" r="2.5" fill="#FFF"/><path fill="#212121" d="M2 3h12v1H2z"/><path fill="#333" d="M4 1h8v2H4z"/><ellipse cx="8" cy="9" fill="#9F6358" rx="1.5" ry="1" transform="rotate(-70.001 8 9)"/><path fill="#FFF" d="m8.761 6.616.282.103-1.71 4.699-.282-.103z"/></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-coffee" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-coffee" 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='M12 15H4L2.5 3h11z'/%3e%3cpath fill='%23FFF' d='M12 12H4L3 6h10z' opacity='.3'/%3e%3cpath fill='%236F453E' d='m12.4 4-1.3 10H4.9L3.6 4h8.8m1.1-1h-11L4 15h8l1.5-12z'/%3e%3ccircle cx='8' cy='9' r='2.5' fill='%23FFF'/%3e%3cpath fill='%23212121' d='M2 3h12v1H2z'/%3e%3cpath fill='%23333' d='M4 1h8v2H4z'/%3e%3cellipse cx='8' cy='9' fill='%239F6358' rx='1.5' ry='1' transform='rotate(-70.001 8 9)'/%3e%3cpath fill='%23FFF' d='m8.761 6.616.282.103-1.71 4.699-.282-.103z'/%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-coffee;
}

Download

Download