actions-gift
Introduced in v2.1.0
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 6h-2c.3-.4.5-.9.5-1.5C12.5 3.1 11.4 2 10 2c-.8 0-1.5.4-2 1-.5-.6-1.2-1-2-1-1.4 0-2.5 1.1-2.5 2.5 0 .6.2 1.1.5 1.5H2c-.6 0-1 .4-1 1v2h1v6h12V9h1V7c0-.6-.4-1-1-1zm-4-3c.8 0 1.5.7 1.5 1.5S10.8 6 10 6H8.5V4.5c0-.8.7-1.5 1.5-1.5zM4.5 4.5C4.5 3.7 5.2 3 6 3s1.5.7 1.5 1.5V6H6c-.8 0-1.5-.7-1.5-1.5zM6 14H3V9h3v5zm0-6H2v-.8c0-.1.1-.2.2-.2H6v1zm3 6H7V7h2v7zm4 0h-3V9h3v5zm1-6h-4V7h3.8c.1 0 .2.1.2.2V8z"/></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-2c.3-.4.5-.9.5-1.5C12.5 3.1 11.4 2 10 2c-.8 0-1.5.4-2 1-.5-.6-1.2-1-2-1-1.4 0-2.5 1.1-2.5 2.5 0 .6.2 1.1.5 1.5H2c-.6 0-1 .4-1 1v2h1v6h12V9h1V7c0-.6-.4-1-1-1zm-4-3c.8 0 1.5.7 1.5 1.5S10.8 6 10 6H8.5V4.5c0-.8.7-1.5 1.5-1.5zM4.5 4.5C4.5 3.7 5.2 3 6 3s1.5.7 1.5 1.5V6H6c-.8 0-1.5-.7-1.5-1.5zM6 14H3V9h3v5zm0-6H2v-.8c0-.1.1-.2.2-.2H6v1zm3 6H7V7h2v7zm4 0h-3V9h3v5zm1-6h-4V7h3.8c.1 0 .2.1.2.2V8z"/></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" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-gift" 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-2c.3-.4.5-.9.5-1.5C12.5 3.1 11.4 2 10 2c-.8 0-1.5.4-2 1-.5-.6-1.2-1-2-1-1.4 0-2.5 1.1-2.5 2.5 0 .6.2 1.1.5 1.5H2c-.6 0-1 .4-1 1v2h1v6h12V9h1V7c0-.6-.4-1-1-1zm-4-3c.8 0 1.5.7 1.5 1.5S10.8 6 10 6H8.5V4.5c0-.8.7-1.5 1.5-1.5zM4.5 4.5C4.5 3.7 5.2 3 6 3s1.5.7 1.5 1.5V6H6c-.8 0-1.5-.7-1.5-1.5zM6 14H3V9h3v5zm0-6H2v-.8c0-.1.1-.2.2-.2H6v1zm3 6H7V7h2v7zm4 0h-3V9h3v5zm1-6h-4V7h3.8c.1 0 .2.1.2.2V8z'/%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;
}