actions-crop

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="M12 11V5c0-.6-.4-1-1-1H6v1H10.6c.3 0 .4.1.4.2V15h1v-3h3v-1h-3z"/><path d="M8.8 11H5.2c-.1 0-.2-.1-.2-.2V1H4v3H1v1h3v6c0 .6.4 1 1 1h5v-1H8.8z"/></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="M12 11V5c0-.6-.4-1-1-1H6v1H10.6c.3 0 .4.1.4.2V15h1v-3h3v-1h-3z"/><path d="M8.8 11H5.2c-.1 0-.2-.1-.2-.2V1H4v3H1v1h3v6c0 .6.4 1 1 1h5v-1H8.8z"/></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-crop" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-crop" 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='M12 11V5c0-.6-.4-1-1-1H6v1H10.6c.3 0 .4.1.4.2V15h1v-3h3v-1h-3z'/%3e%3cpath d='M8.8 11H5.2c-.1 0-.2-.1-.2-.2V1H4v3H1v1h3v6c0 .6.4 1 1 1h5v-1H8.8z'/%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-crop;
}

Download

Download