module-seo
Introduced in v1.8.0
Available in TYPO3
9.5 10.4 11.5
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#5992BD" d="M0 0h64v64H0z"/><path fill="#FFF" d="M49.4 48 48 49.4c-.8.8-2.1.8-2.8 0l-8.5-8.5c-.8-.8-.8-2.1 0-2.8l1.4-1.4c.8-.8 2.1-.8 2.8 0l8.5 8.5c.8.7.8 2 0 2.8z"/><path fill="#1D1D1B" d="M31 21c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10m0-4c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14z" opacity=".2"/><path fill="#FFF" d="M30 20c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10m0-4c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14z"/></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"><path fill="#5992BD" d="M0 0h64v64H0z"/><path fill="#FFF" d="M49.4 48 48 49.4c-.8.8-2.1.8-2.8 0l-8.5-8.5c-.8-.8-.8-2.1 0-2.8l1.4-1.4c.8-.8 2.1-.8 2.8 0l8.5 8.5c.8.7.8 2 0 2.8z"/><path fill="#1D1D1B" d="M31 21c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10m0-4c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14z" opacity=".2"/><path fill="#FFF" d="M30 20c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10m0-4c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14z"/></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/module.svg#module-seo" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-seo" 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%3cpath fill='%235992BD' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M49.4 48 48 49.4c-.8.8-2.1.8-2.8 0l-8.5-8.5c-.8-.8-.8-2.1 0-2.8l1.4-1.4c.8-.8 2.1-.8 2.8 0l8.5 8.5c.8.7.8 2 0 2.8z'/%3e%3cpath fill='%231D1D1B' d='M31 21c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10m0-4c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14z' opacity='.2'/%3e%3cpath fill='%23FFF' d='M30 20c5.5 0 10 4.5 10 10s-4.5 10-10 10-10-4.5-10-10 4.5-10 10-10m0-4c-7.7 0-14 6.3-14 14s6.3 14 14 14 14-6.3 14-14-6.3-14-14-14z'/%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-module.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-module-seo;
}