avatar-default

Introduced in v1.0.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 64 64"><path fill="#666" d="M0 0h64v64H0z"/><path fill="#FFF" d="M46.6 41.2c-3.3-.9-5.7-2.2-8-3.1 0 .5-.1.9-.5 1.3-1.4 1.5-3.6 2.4-6.1 2.4-2.5 0-4.8-.9-6.1-2.4-.5-.5-.6-.9-.5-1.4-2.3 1-4.7 2.2-8 3.1 0 0-3.1 1.8-3.4 8.8h36c-.2-7.1-3.4-8.7-3.4-8.7z"/><path fill="#FFF" d="M32 34.3c-1.6 0-3.2-.9-4.5-2.2-.1 5.4-1.7 5.9-.9 6.7 2.5 2.7 8.1 2.9 10.8 0 .8-.8-.6-1.3-.9-6.8-1.3 1.3-2.9 2.3-4.5 2.3z"/><path fill="#FFF" d="M32 34.3c-3.8 0-7.7-5.2-7.7-8.8v-5c0-3.6 3.2-6.5 6.8-6.5h1.8c3.8 0 6.8 2.9 6.8 6.5v5c-.1 3.6-3.9 8.8-7.7 8.8z"/></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 64 64"><path fill="#666" d="M0 0h64v64H0z"/><path fill="#FFF" d="M46.6 41.2c-3.3-.9-5.7-2.2-8-3.1 0 .5-.1.9-.5 1.3-1.4 1.5-3.6 2.4-6.1 2.4-2.5 0-4.8-.9-6.1-2.4-.5-.5-.6-.9-.5-1.4-2.3 1-4.7 2.2-8 3.1 0 0-3.1 1.8-3.4 8.8h36c-.2-7.1-3.4-8.7-3.4-8.7z"/><path fill="#FFF" d="M32 34.3c-1.6 0-3.2-.9-4.5-2.2-.1 5.4-1.7 5.9-.9 6.7 2.5 2.7 8.1 2.9 10.8 0 .8-.8-.6-1.3-.9-6.8-1.3 1.3-2.9 2.3-4.5 2.3z"/><path fill="#FFF" d="M32 34.3c-3.8 0-7.7-5.2-7.7-8.8v-5c0-3.6 3.2-6.5 6.8-6.5h1.8c3.8 0 6.8 2.9 6.8 6.5v5c-.1 3.6-3.9 8.8-7.7 8.8z"/></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/avatar.svg#avatar-default" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="avatar-default" 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 64 64'%3e%3cpath fill='%23666' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M46.6 41.2c-3.3-.9-5.7-2.2-8-3.1 0 .5-.1.9-.5 1.3-1.4 1.5-3.6 2.4-6.1 2.4-2.5 0-4.8-.9-6.1-2.4-.5-.5-.6-.9-.5-1.4-2.3 1-4.7 2.2-8 3.1 0 0-3.1 1.8-3.4 8.8h36c-.2-7.1-3.4-8.7-3.4-8.7z'/%3e%3cpath fill='%23FFF' d='M32 34.3c-1.6 0-3.2-.9-4.5-2.2-.1 5.4-1.7 5.9-.9 6.7 2.5 2.7 8.1 2.9 10.8 0 .8-.8-.6-1.3-.9-6.8-1.3 1.3-2.9 2.3-4.5 2.3z'/%3e%3cpath fill='%23FFF' d='M32 34.3c-3.8 0-7.7-5.2-7.7-8.8v-5c0-3.6 3.2-6.5 6.8-6.5h1.8c3.8 0 6.8 2.9 6.8 6.5v5c-.1 3.6-3.9 8.8-7.7 8.8z'/%3e%3c/svg%3e");
}

Sass Background Variable

@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-avatar.scss";

.myclass {
    background-size: 1em 1em;
    background-image: $icon-avatar-default;
}

Download

Download