content-card
Introduced in v1.11.0
Available in TYPO3
10.4 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="#FFF" d="M4 2h8v12H4z"/><path fill="#59F" d="M4 2h8v6H4V2z"/><path fill="#FFF" d="M9 7H6l.8-1 .8-1 .8 1L9 7z" opacity=".5"/><path fill="#FFF" d="M10 7H7.3l.7-.7.7-.7.7.7.6.7z" opacity=".5"/><circle cx="9.5" cy="4.5" r=".5" fill="#FFF" opacity=".5"/><path fill="#B9B9B9" d="M6 10h2v1H6zm0-1h4v1H6z"/><path fill="#666" d="M4 2v12h8V2H4zm7 11H5V3h6v10z"/></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="#FFF" d="M4 2h8v12H4z"/><path fill="#59F" d="M4 2h8v6H4V2z"/><path fill="#FFF" d="M9 7H6l.8-1 .8-1 .8 1L9 7z" opacity=".5"/><path fill="#FFF" d="M10 7H7.3l.7-.7.7-.7.7.7.6.7z" opacity=".5"/><circle cx="9.5" cy="4.5" r=".5" fill="#FFF" opacity=".5"/><path fill="#B9B9B9" d="M6 10h2v1H6zm0-1h4v1H6z"/><path fill="#666" d="M4 2v12h8V2H4zm7 11H5V3h6v10z"/></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-card" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-card" 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='%23FFF' d='M4 2h8v12H4z'/%3e%3cpath fill='%2359F' d='M4 2h8v6H4V2z'/%3e%3cpath fill='%23FFF' d='M9 7H6l.8-1 .8-1 .8 1L9 7z' opacity='.5'/%3e%3cpath fill='%23FFF' d='M10 7H7.3l.7-.7.7-.7.7.7.6.7z' opacity='.5'/%3e%3ccircle cx='9.5' cy='4.5' r='.5' fill='%23FFF' opacity='.5'/%3e%3cpath fill='%23B9B9B9' d='M6 10h2v1H6zm0-1h4v1H6z'/%3e%3cpath fill='%23666' d='M4 2v12h8V2H4zm7 11H5V3h6v10z'/%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-card;
}