actions-magnet

Introduced in v3.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="M6.904 2.464 8.318 1.05l2.121 2.121-1.414 1.414zM11.924 7.414 13.34 6 15.46 8.12l-1.414 1.414zM8.4 11c-.4.4-1 .4-1.4 0L5.5 9.6c-.4-.4-.4-1 0-1.4l2.8-2.8-2.1-2.2L3.4 6c-1.6 1.6-1.6 4.1 0 5.7l1.4 1.4c1.6 1.6 4.1 1.6 5.7 0l2.8-2.8-2.1-2.1L8.4 11z"/></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="M6.904 2.464 8.318 1.05l2.121 2.121-1.414 1.414zM11.924 7.414 13.34 6 15.46 8.12l-1.414 1.414zM8.4 11c-.4.4-1 .4-1.4 0L5.5 9.6c-.4-.4-.4-1 0-1.4l2.8-2.8-2.1-2.2L3.4 6c-1.6 1.6-1.6 4.1 0 5.7l1.4 1.4c1.6 1.6 4.1 1.6 5.7 0l2.8-2.8-2.1-2.1L8.4 11z"/></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-magnet" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-magnet" 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='M6.904 2.464 8.318 1.05l2.121 2.121-1.414 1.414zM11.924 7.414 13.34 6 15.46 8.12l-1.414 1.414zM8.4 11c-.4.4-1 .4-1.4 0L5.5 9.6c-.4-.4-.4-1 0-1.4l2.8-2.8-2.1-2.2L3.4 6c-1.6 1.6-1.6 4.1 0 5.7l1.4 1.4c1.6 1.6 4.1 1.6 5.7 0l2.8-2.8-2.1-2.1L8.4 11z'/%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-magnet;
}

Download

Download