actions-gift-card

Introduced in v2.1.1
Available in TYPO3 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.5 5h-13c-.3 0-.5.2-.5.5v9c0 .3.2.5.5.5h13c.3 0 .5-.2.5-.5v-9c0-.3-.2-.5-.5-.5zm-.5 9H2V6h12v8z"/><path d="M2.5 5.5h10V5h-1c.3-.4.5-.9.5-1.5C12 2.1 10.9 1 9.5 1c-.8 0-1.5.4-2 1-.5-.6-1.2-1-2-1C4.1 1 3 2.1 3 3.5c0 .6.2 1.1.5 1.5h-1v.5zm5.5-2C8 2.7 8.7 2 9.5 2s1.5.7 1.5 1.5S10.3 5 9.5 5H8V3.5zM5.5 2C6.3 2 7 2.7 7 3.5V5H5.5C4.7 5 4 4.3 4 3.5S4.7 2 5.5 2z"/><path d="m7.073 5.964.923-.915 3.522 3.55-.923.915z"/><path d="M3.573 8.527 7.095 4.98l.922.915-3.522 3.55zM9 12H7v1h2zM13 12h-3v1h3z"/></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.5 5h-13c-.3 0-.5.2-.5.5v9c0 .3.2.5.5.5h13c.3 0 .5-.2.5-.5v-9c0-.3-.2-.5-.5-.5zm-.5 9H2V6h12v8z"/><path d="M2.5 5.5h10V5h-1c.3-.4.5-.9.5-1.5C12 2.1 10.9 1 9.5 1c-.8 0-1.5.4-2 1-.5-.6-1.2-1-2-1C4.1 1 3 2.1 3 3.5c0 .6.2 1.1.5 1.5h-1v.5zm5.5-2C8 2.7 8.7 2 9.5 2s1.5.7 1.5 1.5S10.3 5 9.5 5H8V3.5zM5.5 2C6.3 2 7 2.7 7 3.5V5H5.5C4.7 5 4 4.3 4 3.5S4.7 2 5.5 2z"/><path d="m7.073 5.964.923-.915 3.522 3.55-.923.915z"/><path d="M3.573 8.527 7.095 4.98l.922.915-3.522 3.55zM9 12H7v1h2zM13 12h-3v1h3z"/></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-gift-card" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-gift-card" 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.5 5h-13c-.3 0-.5.2-.5.5v9c0 .3.2.5.5.5h13c.3 0 .5-.2.5-.5v-9c0-.3-.2-.5-.5-.5zm-.5 9H2V6h12v8z'/%3e%3cpath d='M2.5 5.5h10V5h-1c.3-.4.5-.9.5-1.5C12 2.1 10.9 1 9.5 1c-.8 0-1.5.4-2 1-.5-.6-1.2-1-2-1C4.1 1 3 2.1 3 3.5c0 .6.2 1.1.5 1.5h-1v.5zm5.5-2C8 2.7 8.7 2 9.5 2s1.5.7 1.5 1.5S10.3 5 9.5 5H8V3.5zM5.5 2C6.3 2 7 2.7 7 3.5V5H5.5C4.7 5 4 4.3 4 3.5S4.7 2 5.5 2z'/%3e%3cpath d='m7.073 5.964.923-.915 3.522 3.55-.923.915z'/%3e%3cpath d='M3.573 8.527 7.095 4.98l.922.915-3.522 3.55zM9 12H7v1h2zM13 12h-3v1h3z'/%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-gift-card;
}

Download

Download