Skip to content

content-textpic

Tags: text and image, image, picture, image beside text, rich text, content element
Introduced in v1.0.0
Available in TYPO3

Buttons

Button Label Button Label

Usage

Icon Identifier

content-textpic

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#fff" d="M1 1h14v14H1z"/><path fill="#999" d="M1 1v14h14V1zm1 1h12v12H2z"/><path fill="#666" d="M3 3h10v1H3z"/><path fill="#b9b9b9" d="M3 5h10v1H3z"/><path fill="#59f" d="M7 7h6v6H7z"/><path fill="#fff" d="M11 12H8l.75-1 .75-1 .75 1z"/><path fill="#fff" d="M12 12H9.333l.667-.667.667-.666.666.666z"/><circle cx="11.5" cy="9.5" r=".5" fill="#fff"/><path fill="#b9b9b9" d="M3 7h3v1H3zm0 2h3v1H3zm0 2h3v1H3z"/></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="M1 1h14v14H1z"/><path fill="#999" d="M1 1v14h14V1zm1 1h12v12H2z"/><path fill="#666" d="M3 3h10v1H3z"/><path fill="#b9b9b9" d="M3 5h10v1H3z"/><path fill="#59f" d="M7 7h6v6H7z"/><path fill="#fff" d="M11 12H8l.75-1 .75-1 .75 1z"/><path fill="#fff" d="M12 12H9.333l.667-.667.667-.666.666.666z"/><circle cx="11.5" cy="9.5" r=".5" fill="#fff"/><path fill="#b9b9b9" d="M3 7h3v1H3zm0 2h3v1H3zm0 2h3v1H3z"/></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?v=1792707318708#content-textpic" /></svg> </span> </span>

TYPO3 ViewHelper

<core:icon identifier="content-textpic" size="small" />

TYPO3 Web Component

<typo3-backend-icon identifier="content-textpic" 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 16 16'%3e%3cpath fill='%23fff' d='M1 1h14v14H1z'/%3e%3cpath fill='%23999' d='M1 1v14h14V1zm1 1h12v12H2z'/%3e%3cpath fill='%23666' d='M3 3h10v1H3z'/%3e%3cpath fill='%23b9b9b9' d='M3 5h10v1H3z'/%3e%3cpath fill='%2359f' d='M7 7h6v6H7z'/%3e%3cpath fill='%23fff' d='M11 12H8l.75-1 .75-1 .75 1z'/%3e%3cpath fill='%23fff' d='M12 12H9.333l.667-.667.667-.666.666.666z'/%3e%3ccircle cx='11.5' cy='9.5' r='.5' fill='%23fff'/%3e%3cpath fill='%23b9b9b9' d='M3 7h3v1H3zm0 2h3v1H3zm0 2h3v1H3z'/%3e%3c/svg%3e"); }

Sass Background Variable

@use "@typo3/icons/dist/icons" as *; @use "@typo3/icons/dist/scss/icons-variables-content" as *; .myclass { background-size: 1em 1em; background-image: $icon-content-textpic; }

Download

Download SVG