modulegroup-web
Introduced in v1.10.0
Available in TYPO3
10.4 11.5 12.4 13.x
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g fill="currentColor"><path d="m43.4 22.4-3.8-3.8c-.4-.4-.8-.6-1.4-.6H21c-.6 0-1 .4-1 1v26c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V23.8c0-.6-.2-1-.6-1.4zM42 44H22V20h14v5c0 .6.4 1 1 1h5v18zm-4-20v-4l4 4h-4z"/></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 64 64"><g fill="currentColor"><path d="m43.4 22.4-3.8-3.8c-.4-.4-.8-.6-1.4-.6H21c-.6 0-1 .4-1 1v26c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V23.8c0-.6-.2-1-.6-1.4zM42 44H22V20h14v5c0 .6.4 1 1 1h5v18zm-4-20v-4l4 4h-4z"/></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/modulegroup.svg#modulegroup-web" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="modulegroup-web" 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 64 64'%3e%3cg fill='%23fff'%3e%3cpath d='m43.4 22.4-3.8-3.8c-.4-.4-.8-.6-1.4-.6H21c-.6 0-1 .4-1 1v26c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V23.8c0-.6-.2-1-.6-1.4zM42 44H22V20h14v5c0 .6.4 1 1 1h5v18zm-4-20v-4l4 4h-4z'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-modulegroup.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-modulegroup-web;
}