content-widget-calltoaction
Introduced in v1.11.0
Available in TYPO3
10.4 11.5 12.4 13.x
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 3h10v12H4V3z"/><path fill="#666" d="M4 3v12h10V3H4zm1 1h8v10H5V4z"/><path fill="#999" d="M5 4h8v1H5z"/><path fill="#B9B9B9" d="M2 1h1v1H2zM2 3h1v1H2zM2 5h1v1H2zM2 7h1v1H2zM2 9h1v1H2zM2 11h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM8 1h1v1H8zM10 1h1v1h-1z"/><path fill="#59F" d="M8 11h2v1H8z"/><path fill="#B9B9B9" d="M7 7h4v1H7zM7 9h4v1H7z"/></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 3h10v12H4V3z"/><path fill="#666" d="M4 3v12h10V3H4zm1 1h8v10H5V4z"/><path fill="#999" d="M5 4h8v1H5z"/><path fill="#B9B9B9" d="M2 1h1v1H2zM2 3h1v1H2zM2 5h1v1H2zM2 7h1v1H2zM2 9h1v1H2zM2 11h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM8 1h1v1H8zM10 1h1v1h-1z"/><path fill="#59F" d="M8 11h2v1H8z"/><path fill="#B9B9B9" d="M7 7h4v1H7zM7 9h4v1H7z"/></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-widget-calltoaction" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="content-widget-calltoaction" 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 3h10v12H4V3z'/%3e%3cpath fill='%23666' d='M4 3v12h10V3H4zm1 1h8v10H5V4z'/%3e%3cpath fill='%23999' d='M5 4h8v1H5z'/%3e%3cpath fill='%23B9B9B9' d='M2 1h1v1H2zM2 3h1v1H2zM2 5h1v1H2zM2 7h1v1H2zM2 9h1v1H2zM2 11h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM8 1h1v1H8zM10 1h1v1h-1z'/%3e%3cpath fill='%2359F' d='M8 11h2v1H8z'/%3e%3cpath fill='%23B9B9B9' d='M7 7h4v1H7zM7 9h4v1H7z'/%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-widget-calltoaction;
}