actions-barcode-read
Introduced in v2.1.0
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"><g fill="currentColor"><path d="M12 3h2v2h1V2.2c0-.1-.1-.2-.2-.2H12v1zM2 5V3h2V2H1.2c-.1 0-.2.1-.2.2V5h1zM4 13H2v-2H1v2.8c0 .1.1.2.2.2H4v-1zM14 11v2h-2v1h2.8c.1 0 .2-.1.2-.2V11h-1z"/><path d="M13 4h-1v8h1zM11 4h-1v8h1zM9.5 4H9v8h.5zM8.5 4h-1v8h1zM7 4H6v8h1zM5.5 4H5v8h.5zM4 4H3v8h1z"/></g></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"><g fill="currentColor"><path d="M12 3h2v2h1V2.2c0-.1-.1-.2-.2-.2H12v1zM2 5V3h2V2H1.2c-.1 0-.2.1-.2.2V5h1zM4 13H2v-2H1v2.8c0 .1.1.2.2.2H4v-1zM14 11v2h-2v1h2.8c.1 0 .2-.1.2-.2V11h-1z"/><path d="M13 4h-1v8h1zM11 4h-1v8h1zM9.5 4H9v8h.5zM8.5 4h-1v8h1zM7 4H6v8h1zM5.5 4H5v8h.5zM4 4H3v8h1z"/></g></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/actions.svg#actions-barcode-read" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-barcode-read" 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%3cg fill='%23fff'%3e%3cpath d='M12 3h2v2h1V2.2c0-.1-.1-.2-.2-.2H12v1zM2 5V3h2V2H1.2c-.1 0-.2.1-.2.2V5h1zM4 13H2v-2H1v2.8c0 .1.1.2.2.2H4v-1zM14 11v2h-2v1h2.8c.1 0 .2-.1.2-.2V11h-1z'/%3e%3cpath d='M13 4h-1v8h1zM11 4h-1v8h1zM9.5 4H9v8h.5zM8.5 4h-1v8h1zM7 4H6v8h1zM5.5 4H5v8h.5zM4 4H3v8h1z'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-actions.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-actions-barcode-read;
}