module-contentelements
Introduced in v1.6.0
Available in TYPO3
9.5 10.4 11.5 12.4 13.x
Module Menu Preview
Usage
Icon Identifier
module-contentelements
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="currentColor" d="M48 16v16H16V16h32m2-4H14c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z"/><path fill="var(--icon-color-accent, #ff8700)" d="m42 24-8 4-10-6-8 6.4V32h32v-3.5L42 24z"/><g fill="currentColor" opacity=".4"><path d="M50 44H14c-1.1 0-2-.9-2-2s.9-2 2-2h36c1.1 0 2 .9 2 2s-.9 2-2 2ZM50 52H14c-1.1 0-2-.9-2-2s.9-2 2-2h36c1.1 0 2 .9 2 2s-.9 2-2 2Z"/></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"><path fill="currentColor" d="M48 16v16H16V16h32m2-4H14c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z"/><path fill="var(--icon-color-accent, #ff8700)" d="m42 24-8 4-10-6-8 6.4V32h32v-3.5L42 24z"/><g fill="currentColor" opacity=".4"><path d="M50 44H14c-1.1 0-2-.9-2-2s.9-2 2-2h36c1.1 0 2 .9 2 2s-.9 2-2 2ZM50 52H14c-1.1 0-2-.9-2-2s.9-2 2-2h36c1.1 0 2 .9 2 2s-.9 2-2 2Z"/></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/module.svg?v=1769809642593#module-contentelements" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-contentelements" size="small" />
TYPO3 Web Component
<typo3-backend-icon identifier="module-contentelements" size="small"></typo3-backend-icon>
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='%23fff' d='M48 16v16H16V16h32m2-4H14c-1.1 0-2 .9-2 2v20c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z'/%3e%3cpath fill='var(--icon-color-accent, %23ff8700)' d='m42 24-8 4-10-6-8 6.4V32h32v-3.5L42 24z'/%3e%3cg fill='%23fff' opacity='.4'%3e%3cpath d='M50 44H14c-1.1 0-2-.9-2-2s.9-2 2-2h36c1.1 0 2 .9 2 2s-.9 2-2 2ZM50 52H14c-1.1 0-2-.9-2-2s.9-2 2-2h36c1.1 0 2 .9 2 2s-.9 2-2 2Z'/%3e%3c/g%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-contentelements;
}