actions-viewmode-photos
Introduced in v1.9.0
Available in TYPO3
9.5 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"><g fill="currentColor"><path d="M8.5 2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6C1.673 1 1 1.673 1 2.5v1C1 4.327 1.673 5 2.5 5h6c.827 0 1.5-.673 1.5-1.5v-1C10 1.673 9.327 1 8.5 1zM13.5 12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6c-.827 0-1.5.673-1.5 1.5v1c0 .827.673 1.5 1.5 1.5h6c.827 0 1.5-.673 1.5-1.5v-1c0-.827-.673-1.5-1.5-1.5zM3.5 12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h1m0-1h-1c-.827 0-1.5.673-1.5 1.5v1c0 .827.673 1.5 1.5 1.5h1c.827 0 1.5-.673 1.5-1.5v-1c0-.827-.673-1.5-1.5-1.5zM13.5 2a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h1m0-1h-1c-.827 0-1.5.673-1.5 1.5v6c0 .827.673 1.5 1.5 1.5h1c.827 0 1.5-.673 1.5-1.5v-6c0-.827-.673-1.5-1.5-1.5zM8.5 7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6C1.673 6 1 6.673 1 7.5v1c0 .827.673 1.5 1.5 1.5h6c.827 0 1.5-.673 1.5-1.5v-1C10 6.673 9.327 6 8.5 6z"/></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="M8.5 2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6C1.673 1 1 1.673 1 2.5v1C1 4.327 1.673 5 2.5 5h6c.827 0 1.5-.673 1.5-1.5v-1C10 1.673 9.327 1 8.5 1zM13.5 12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6c-.827 0-1.5.673-1.5 1.5v1c0 .827.673 1.5 1.5 1.5h6c.827 0 1.5-.673 1.5-1.5v-1c0-.827-.673-1.5-1.5-1.5zM3.5 12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h1m0-1h-1c-.827 0-1.5.673-1.5 1.5v1c0 .827.673 1.5 1.5 1.5h1c.827 0 1.5-.673 1.5-1.5v-1c0-.827-.673-1.5-1.5-1.5zM13.5 2a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h1m0-1h-1c-.827 0-1.5.673-1.5 1.5v6c0 .827.673 1.5 1.5 1.5h1c.827 0 1.5-.673 1.5-1.5v-6c0-.827-.673-1.5-1.5-1.5zM8.5 7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6C1.673 6 1 6.673 1 7.5v1c0 .827.673 1.5 1.5 1.5h6c.827 0 1.5-.673 1.5-1.5v-1C10 6.673 9.327 6 8.5 6z"/></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-viewmode-photos" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-viewmode-photos" 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='M8.5 2a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6C1.673 1 1 1.673 1 2.5v1C1 4.327 1.673 5 2.5 5h6c.827 0 1.5-.673 1.5-1.5v-1C10 1.673 9.327 1 8.5 1zM13.5 12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6c-.827 0-1.5.673-1.5 1.5v1c0 .827.673 1.5 1.5 1.5h6c.827 0 1.5-.673 1.5-1.5v-1c0-.827-.673-1.5-1.5-1.5zM3.5 12a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h1m0-1h-1c-.827 0-1.5.673-1.5 1.5v1c0 .827.673 1.5 1.5 1.5h1c.827 0 1.5-.673 1.5-1.5v-1c0-.827-.673-1.5-1.5-1.5zM13.5 2a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5h1m0-1h-1c-.827 0-1.5.673-1.5 1.5v6c0 .827.673 1.5 1.5 1.5h1c.827 0 1.5-.673 1.5-1.5v-6c0-.827-.673-1.5-1.5-1.5zM8.5 7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-6a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h6m0-1h-6C1.673 6 1 6.673 1 7.5v1c0 .827.673 1.5 1.5 1.5h6c.827 0 1.5-.673 1.5-1.5v-1C10 6.673 9.327 6 8.5 6z'/%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-viewmode-photos;
}