actions-file-add

Introduced in v1.9.0
Available in TYPO3 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"><g fill="currentColor"><path d="M10 14H3V2h7v2.5a.5.5 0 0 0 .5.5H13v2.092c.581.207 1 .757 1 1.408V3.914a.997.997 0 0 0-.293-.707l-1.914-1.914A.997.997 0 0 0 11.086 1H2.5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5H10v-1zm1-12 2 2h-2V2z"/><path d="M15.5 13H13v2.5c0 .28-.22.5-.5.5h-1c-.28 0-.5-.22-.5-.5V13H8.5c-.28 0-.5-.22-.5-.5v-1c0-.28.22-.5.5-.5H11V8.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5V11h2.5c.28 0 .5.22.5.5v1c0 .28-.22.5-.5.5z"/></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="M10 14H3V2h7v2.5a.5.5 0 0 0 .5.5H13v2.092c.581.207 1 .757 1 1.408V3.914a.997.997 0 0 0-.293-.707l-1.914-1.914A.997.997 0 0 0 11.086 1H2.5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5H10v-1zm1-12 2 2h-2V2z"/><path d="M15.5 13H13v2.5c0 .28-.22.5-.5.5h-1c-.28 0-.5-.22-.5-.5V13H8.5c-.28 0-.5-.22-.5-.5v-1c0-.28.22-.5.5-.5H11V8.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5V11h2.5c.28 0 .5.22.5.5v1c0 .28-.22.5-.5.5z"/></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-add" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-file-add" 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='M10 14H3V2h7v2.5a.5.5 0 0 0 .5.5H13v2.092c.581.207 1 .757 1 1.408V3.914a.997.997 0 0 0-.293-.707l-1.914-1.914A.997.997 0 0 0 11.086 1H2.5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5H10v-1zm1-12 2 2h-2V2z'/%3e%3cpath d='M15.5 13H13v2.5c0 .28-.22.5-.5.5h-1c-.28 0-.5-.22-.5-.5V13H8.5c-.28 0-.5-.22-.5-.5v-1c0-.28.22-.5.5-.5H11V8.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5V11h2.5c.28 0 .5.22.5.5v1c0 .28-.22.5-.5.5z'/%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-add;
}

Alias

  • actions-page-new

Download

Download