actions-file-shield

Introduced in v2.5.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 fill="currentColor"><path d="M15 8v3.5c0 1.542-1.898 2.833-2.994 3.393C11.119 14.433 9 13.161 9 11.5V8h6m1-1H8v4.5c0 2.812 4 4.5 4 4.5s4-1.688 4-4.5V7z"/><path d="M7.845 14H3V2h7v2.5c0 .3.2.5.5.5H13v1h1V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h6.207a6.7 6.7 0 0 1-.862-1zM11 2l2 2h-2V2z"/></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 fill="currentColor"><path d="M15 8v3.5c0 1.542-1.898 2.833-2.994 3.393C11.119 14.433 9 13.161 9 11.5V8h6m1-1H8v4.5c0 2.812 4 4.5 4 4.5s4-1.688 4-4.5V7z"/><path d="M7.845 14H3V2h7v2.5c0 .3.2.5.5.5H13v1h1V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h6.207a6.7 6.7 0 0 1-.862-1zM11 2l2 2h-2V2z"/></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/actions.svg#actions-file-shield" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-file-shield" 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 fill='%23fff'%3e%3cpath d='M15 8v3.5c0 1.542-1.898 2.833-2.994 3.393C11.119 14.433 9 13.161 9 11.5V8h6m1-1H8v4.5c0 2.812 4 4.5 4 4.5s4-1.688 4-4.5V7z'/%3e%3cpath d='M7.845 14H3V2h7v2.5c0 .3.2.5.5.5H13v1h1V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h6.207a6.7 6.7 0 0 1-.862-1zM11 2l2 2h-2V2z'/%3e%3c/g%3e%3c/svg%3e");
}

Sass Background Variable

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

.myclass {
    background-size: 1em 1em;
    background-image: $icon-actions-file-shield;
}

Download

Download