actions-code-commit
Introduced in v2.3.2
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="M8 5c1.378 0 2.5 1.122 2.5 2.5S9.378 10 8 10 5.5 8.878 5.5 7.5 6.622 5 8 5m0-1C6.071 4 4.5 5.571 4.5 7.5S6.071 11 8 11s3.5-1.571 3.5-3.5S9.929 4 8 4z"/><path d="M1 7h4v1H1zM11 7h4v1h-4z"/></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 5c1.378 0 2.5 1.122 2.5 2.5S9.378 10 8 10 5.5 8.878 5.5 7.5 6.622 5 8 5m0-1C6.071 4 4.5 5.571 4.5 7.5S6.071 11 8 11s3.5-1.571 3.5-3.5S9.929 4 8 4z"/><path d="M1 7h4v1H1zM11 7h4v1h-4z"/></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-code-commit" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-code-commit" 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 5c1.378 0 2.5 1.122 2.5 2.5S9.378 10 8 10 5.5 8.878 5.5 7.5 6.622 5 8 5m0-1C6.071 4 4.5 5.571 4.5 7.5S6.071 11 8 11s3.5-1.571 3.5-3.5S9.929 4 8 4z'/%3e%3cpath d='M1 7h4v1H1zM11 7h4v1h-4z'/%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-code-commit;
}