actions-dice

Introduced in v3.3.0

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 6h-3v1h3v7H7v-3H6v3a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z"/><path d="M12.5 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM12.5 8a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM8.5 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM9 2v7H2V2h7m0-1H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z"/><path d="M7.5 3a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM5.5 5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM3.5 7a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1z"/></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 6h-3v1h3v7H7v-3H6v3a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z"/><path d="M12.5 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM12.5 8a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM8.5 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM9 2v7H2V2h7m0-1H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z"/><path d="M7.5 3a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM5.5 5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM3.5 7a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1z"/></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-dice" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-dice" 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 6h-3v1h3v7H7v-3H6v3a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z'/%3e%3cpath d='M12.5 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM12.5 8a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM8.5 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM9 2v7H2V2h7m0-1H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z'/%3e%3cpath d='M7.5 3a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM5.5 5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1zM3.5 7a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1z'/%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-dice;
}

Download

Download