actions-moon

Introduced in v4.1.0
Available in TYPO3 12.4 13.x

Buttons

Button Label Button Label

Button Label Button Label

Usage

Markup

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g fill="currentColor"><path d="M5.097 3.93a6.007 6.007 0 0 0 6.973 6.973A4.989 4.989 0 0 1 8 13c-2.757 0-5-2.243-5-5 0-1.663.815-3.158 2.097-4.07m1.844-1.831a5.998 5.998 0 1 0 6.96 6.96A4.962 4.962 0 0 1 11 10a5 5 0 0 1-5-5c0-1.085.354-2.082.941-2.901z"/></g></svg>

Inline

<span class="icon icon-size-small icon-state-default">
    <span class="icon-markup">
        <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><g fill="currentColor"><path d="M5.097 3.93a6.007 6.007 0 0 0 6.973 6.973A4.989 4.989 0 0 1 8 13c-2.757 0-5-2.243-5-5 0-1.663.815-3.158 2.097-4.07m1.844-1.831a5.998 5.998 0 1 0 6.96 6.96A4.962 4.962 0 0 1 11 10a5 5 0 0 1-5-5c0-1.085.354-2.082.941-2.901z"/></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-moon" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-moon" 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' xml:space='preserve' viewBox='0 0 16 16'%3e%3cg fill='%23fff'%3e%3cpath d='M5.097 3.93a6.007 6.007 0 0 0 6.973 6.973A4.989 4.989 0 0 1 8 13c-2.757 0-5-2.243-5-5 0-1.663.815-3.158 2.097-4.07m1.844-1.831a5.998 5.998 0 1 0 6.96 6.96A4.962 4.962 0 0 1 11 10a5 5 0 0 1-5-5c0-1.085.354-2.082.941-2.901z'/%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-moon;
}

Download

Download