Skip to content

actions-discard

Tags: revert, changes, undo, cancel, reset, throw away, go back
Introduced in v5.1.0
Available in TYPO3

Buttons

Button Label Button Label

Usage

Icon Identifier

actions-discard

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g fill="currentColor"><path d="M10.5 4a4.5 4.5 0 1 1 0 9H4v-1h6.5a3.5 3.5 0 1 0 0-7H5v1.75a.248.248 0 0 1-.384.21l-3.5-2.25a.25.25 0 0 1 0-.42l3.5-2.25a.25.25 0 0 1 .254-.009c.08.043.13.127.13.219V4z"/></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="M10.5 4a4.5 4.5 0 1 1 0 9H4v-1h6.5a3.5 3.5 0 1 0 0-7H5v1.75a.248.248 0 0 1-.384.21l-3.5-2.25a.25.25 0 0 1 0-.42l3.5-2.25a.25.25 0 0 1 .254-.009c.08.043.13.127.13.219V4z"/></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?v=1794104800428#actions-discard" /></svg> </span> </span>

TYPO3 ViewHelper

<core:icon identifier="actions-discard" size="small" />

TYPO3 Web Component

<typo3-backend-icon identifier="actions-discard" 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%3cg fill='%23fff'%3e%3cpath d='M10.5 4a4.5 4.5 0 1 1 0 9H4v-1h6.5a3.5 3.5 0 1 0 0-7H5v1.75a.248.248 0 0 1-.384.21l-3.5-2.25a.25.25 0 0 1 0-.42l3.5-2.25a.25.25 0 0 1 .254-.009c.08.043.13.127.13.219V4z'/%3e%3c/g%3e%3c/svg%3e"); }

Sass Background Variable

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

Download

Download SVG