actions-git

Introduced in v1.11.0
Available in TYPO3 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="M14.751 7.646 7.854.749a.5.5 0 0 0-.707 0l-1.41 1.41L6.99 3.411a1.406 1.406 0 0 1 1.916 1.308c0 .18-.037.352-.099.51l1.464 1.464c.159-.062.33-.099.51-.099A1.406 1.406 0 1 1 9.375 8c0-.229.06-.442.157-.632l-1.4-1.4a1.523 1.523 0 0 1-.165.072v3.92a1.403 1.403 0 0 1-.466 2.727 1.407 1.407 0 0 1-.533-2.706V6.019a1.405 1.405 0 0 1-.873-1.3c0-.229.06-.442.157-.632L5.03 2.865.249 7.646a.5.5 0 0 0 0 .707l6.898 6.898a.5.5 0 0 0 .707 0l6.898-6.898a.5.5 0 0 0-.001-.707z"/></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="M14.751 7.646 7.854.749a.5.5 0 0 0-.707 0l-1.41 1.41L6.99 3.411a1.406 1.406 0 0 1 1.916 1.308c0 .18-.037.352-.099.51l1.464 1.464c.159-.062.33-.099.51-.099A1.406 1.406 0 1 1 9.375 8c0-.229.06-.442.157-.632l-1.4-1.4a1.523 1.523 0 0 1-.165.072v3.92a1.403 1.403 0 0 1-.466 2.727 1.407 1.407 0 0 1-.533-2.706V6.019a1.405 1.405 0 0 1-.873-1.3c0-.229.06-.442.157-.632L5.03 2.865.249 7.646a.5.5 0 0 0 0 .707l6.898 6.898a.5.5 0 0 0 .707 0l6.898-6.898a.5.5 0 0 0-.001-.707z"/></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-git" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-git" 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='M14.751 7.646 7.854.749a.5.5 0 0 0-.707 0l-1.41 1.41L6.99 3.411a1.406 1.406 0 0 1 1.916 1.308c0 .18-.037.352-.099.51l1.464 1.464c.159-.062.33-.099.51-.099A1.406 1.406 0 1 1 9.375 8c0-.229.06-.442.157-.632l-1.4-1.4a1.523 1.523 0 0 1-.165.072v3.92a1.403 1.403 0 0 1-.466 2.727 1.407 1.407 0 0 1-.533-2.706V6.019a1.405 1.405 0 0 1-.873-1.3c0-.229.06-.442.157-.632L5.03 2.865.249 7.646a.5.5 0 0 0 0 .707l6.898 6.898a.5.5 0 0 0 .707 0l6.898-6.898a.5.5 0 0 0-.001-.707z'/%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-git;
}

Download

Download