actions-coffee
Introduced in v2.6.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 3h-2V1H4v2H2v1h.625L4 15h8l1.375-11H14V3zm-2.9 11H4.9L3.6 4h8.8l-1.3 10z"/><path d="M8 6.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-.94 2.158c.266-.73.854-1.189 1.354-1.087l-1.011 2.777c-.445-.247-.608-.962-.343-1.69zm1.88.684c-.248.682-.778 1.133-1.254 1.108l.994-2.734c.377.289.506.948.26 1.626z"/></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 3h-2V1H4v2H2v1h.625L4 15h8l1.375-11H14V3zm-2.9 11H4.9L3.6 4h8.8l-1.3 10z"/><path d="M8 6.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-.94 2.158c.266-.73.854-1.189 1.354-1.087l-1.011 2.777c-.445-.247-.608-.962-.343-1.69zm1.88.684c-.248.682-.778 1.133-1.254 1.108l.994-2.734c.377.289.506.948.26 1.626z"/></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-coffee" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-coffee" 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 3h-2V1H4v2H2v1h.625L4 15h8l1.375-11H14V3zm-2.9 11H4.9L3.6 4h8.8l-1.3 10z'/%3e%3cpath d='M8 6.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-.94 2.158c.266-.73.854-1.189 1.354-1.087l-1.011 2.777c-.445-.247-.608-.962-.343-1.69zm1.88.684c-.248.682-.778 1.133-1.254 1.108l.994-2.734c.377.289.506.948.26 1.626z'/%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-coffee;
}