module-file
Introduced in v5.0.2
Module Menu Preview
Usage
Icon Identifier
module-file
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><circle cx="32" cy="32" r="4" fill="currentColor"/><path fill="currentColor" d="M42 20H14c-1.1 0-2 .9-2 2v28c0 1.1.9 2 2 2h28c1.1 0 2-.9 2-2V22c0-1.1-.9-2-2-2Zm-2 4v20.05l-4-3.25-6.4 3.2-8-6.4-5.6 4.48V24h24Z"/><path fill="var(--icon-color-accent, #ff8700)" d="M50 12H22c-1.1 0-2 .9-2 2v6h22c1.1 0 2 .9 2 2v22h6c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z"/></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"><circle cx="32" cy="32" r="4" fill="currentColor"/><path fill="currentColor" d="M42 20H14c-1.1 0-2 .9-2 2v28c0 1.1.9 2 2 2h28c1.1 0 2-.9 2-2V22c0-1.1-.9-2-2-2Zm-2 4v20.05l-4-3.25-6.4 3.2-8-6.4-5.6 4.48V24h24Z"/><path fill="var(--icon-color-accent, #ff8700)" d="M50 12H22c-1.1 0-2 .9-2 2v6h22c1.1 0 2 .9 2 2v22h6c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z"/></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-file" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-file" size="small" />
TYPO3 Web Component
<typo3-backend-icon identifier="module-file" 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%3ccircle cx='32' cy='32' r='4' fill='%23fff'/%3e%3cpath fill='%23fff' d='M42 20H14c-1.1 0-2 .9-2 2v28c0 1.1.9 2 2 2h28c1.1 0 2-.9 2-2V22c0-1.1-.9-2-2-2Zm-2 4v20.05l-4-3.25-6.4 3.2-8-6.4-5.6 4.48V24h24Z'/%3e%3cpath fill='var(--icon-color-accent, %23ff8700)' d='M50 12H22c-1.1 0-2 .9-2 2v6h22c1.1 0 2 .9 2 2v22h6c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z'/%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-file;
}
Alias
- module-filelist
- modulegroup-file