content-device-desktop
Introduced in v2.3.2
Available in TYPO3
11.5
Buttons
Button Label Button Label
Button Label Button Label
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#323232" d="M14.5 2h-13c-.3 0-.5.2-.5.5v9c0 .3.2.5.5.5H6v1H4v1h8v-1h-2v-1h4.5c.3 0 .5-.2.5-.5v-9c0-.3-.2-.5-.5-.5zm-.5 9H2V3h12v8z"/><path fill="#FFF" d="M4 13h8v1H4z" opacity=".05"/><path fill="#FFF" d="M6 12h4v1H6z" opacity=".15"/><path fill="#59F" d="M2 3h12v8H2z"/><path fill="#FFF" d="M2 3h12v1H2z" opacity=".15"/></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 16 16"><path fill="#323232" d="M14.5 2h-13c-.3 0-.5.2-.5.5v9c0 .3.2.5.5.5H6v1H4v1h8v-1h-2v-1h4.5c.3 0 .5-.2.5-.5v-9c0-.3-.2-.5-.5-.5zm-.5 9H2V3h12v8z"/><path fill="#FFF" d="M4 13h8v1H4z" opacity=".05"/><path fill="#FFF" d="M6 12h4v1H6z" opacity=".15"/><path fill="#59F" d="M2 3h12v8H2z"/><path fill="#FFF" d="M2 3h12v1H2z" opacity=".15"/></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/content.svg#content-device-desktop" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-device-desktop" 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 16 16'%3e%3cpath fill='%23323232' d='M14.5 2h-13c-.3 0-.5.2-.5.5v9c0 .3.2.5.5.5H6v1H4v1h8v-1h-2v-1h4.5c.3 0 .5-.2.5-.5v-9c0-.3-.2-.5-.5-.5zm-.5 9H2V3h12v8z'/%3e%3cpath fill='%23FFF' d='M4 13h8v1H4z' opacity='.05'/%3e%3cpath fill='%23FFF' d='M6 12h4v1H6z' opacity='.15'/%3e%3cpath fill='%2359F' d='M2 3h12v8H2z'/%3e%3cpath fill='%23FFF' d='M2 3h12v1H2z' opacity='.15'/%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-content.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-content-device-desktop;
}