actions-file-view

Introduced in v2.0.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"><g fill="currentColor"><path d="M4.3 14H3V2h7v2.5c0 .3.2.5.5.5H13v2.2c.3.1.7.2 1 .3V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h2.2c-.2-.3-.3-.7-.4-1zM11 2l2 2h-2V2z"/><path d="M11.2 9h-.1C8.2 9 6 10.6 6 12.5S8.1 16 10.9 16c2.8 0 5.1-1.6 5.1-3.5S13.8 9.1 11.2 9zm-.1.8c.1 0 .3.1.3.2s-.1.2-.3.2c-.6 0-1.2.5-1.2 1.1 0 .1-.1.2-.3.2s-.3-.1-.3-.2c0-.8.8-1.5 1.8-1.5zm-.2 5.2c-2.2 0-4-1.1-4-2.5 0-.9.7-1.6 1.8-2.1-.2.3-.2.7-.2 1.1 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5c0-.4-.1-.7-.2-1 1 .5 1.7 1.2 1.7 2 0 1.4-1.8 2.5-4.1 2.5z"/></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="M4.3 14H3V2h7v2.5c0 .3.2.5.5.5H13v2.2c.3.1.7.2 1 .3V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h2.2c-.2-.3-.3-.7-.4-1zM11 2l2 2h-2V2z"/><path d="M11.2 9h-.1C8.2 9 6 10.6 6 12.5S8.1 16 10.9 16c2.8 0 5.1-1.6 5.1-3.5S13.8 9.1 11.2 9zm-.1.8c.1 0 .3.1.3.2s-.1.2-.3.2c-.6 0-1.2.5-1.2 1.1 0 .1-.1.2-.3.2s-.3-.1-.3-.2c0-.8.8-1.5 1.8-1.5zm-.2 5.2c-2.2 0-4-1.1-4-2.5 0-.9.7-1.6 1.8-2.1-.2.3-.2.7-.2 1.1 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5c0-.4-.1-.7-.2-1 1 .5 1.7 1.2 1.7 2 0 1.4-1.8 2.5-4.1 2.5z"/></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-file-view" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-file-view" 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='M4.3 14H3V2h7v2.5c0 .3.2.5.5.5H13v2.2c.3.1.7.2 1 .3V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h2.2c-.2-.3-.3-.7-.4-1zM11 2l2 2h-2V2z'/%3e%3cpath d='M11.2 9h-.1C8.2 9 6 10.6 6 12.5S8.1 16 10.9 16c2.8 0 5.1-1.6 5.1-3.5S13.8 9.1 11.2 9zm-.1.8c.1 0 .3.1.3.2s-.1.2-.3.2c-.6 0-1.2.5-1.2 1.1 0 .1-.1.2-.3.2s-.3-.1-.3-.2c0-.8.8-1.5 1.8-1.5zm-.2 5.2c-2.2 0-4-1.1-4-2.5 0-.9.7-1.6 1.8-2.1-.2.3-.2.7-.2 1.1 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5c0-.4-.1-.7-.2-1 1 .5 1.7 1.2 1.7 2 0 1.4-1.8 2.5-4.1 2.5z'/%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-file-view;
}

Alias

  • actions-view-page

Download

Download