module-permission
Introduced in v1.0.0
Available in TYPO3
7.6 8.6 9.5 10.4 11.5
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#184F44" d="M0 0h64v64H0z"/><path fill="#FFF" d="M45 48H19a1 1 0 0 1-1-1V31a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1z"/><path fill="#FFF" d="M32 19.5c3.308 0 6 2.692 6 6h4c0-5.523-4.477-10-10-10s-10 4.477-10 10v8h4v-8c0-3.308 2.692-6 6-6z"/><circle cx="32" cy="38" r="4" fill="#184F44"/><path fill="#184F44" d="M30 38h4v6h-4z"/></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="#184F44" d="M0 0h64v64H0z"/><path fill="#FFF" d="M45 48H19a1 1 0 0 1-1-1V31a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1z"/><path fill="#FFF" d="M32 19.5c3.308 0 6 2.692 6 6h4c0-5.523-4.477-10-10-10s-10 4.477-10 10v8h4v-8c0-3.308 2.692-6 6-6z"/><circle cx="32" cy="38" r="4" fill="#184F44"/><path fill="#184F44" d="M30 38h4v6h-4z"/></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-permission" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-permission" 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='%23184F44' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M45 48H19a1 1 0 0 1-1-1V31a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1z'/%3e%3cpath fill='%23FFF' d='M32 19.5c3.308 0 6 2.692 6 6h4c0-5.523-4.477-10-10-10s-10 4.477-10 10v8h4v-8c0-3.308 2.692-6 6-6z'/%3e%3ccircle cx='32' cy='38' r='4' fill='%23184F44'/%3e%3cpath fill='%23184F44' d='M30 38h4v6h-4z'/%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-permission;
}