actions-code-fork
Introduced in v1.11.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="M11.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 11.5 2m0-1C10.122 1 9 2.122 9 3.5S10.122 6 11.5 6 14 4.878 14 3.5 12.878 1 11.5 1zM4.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 4.5 11m0-1C3.122 10 2 11.122 2 12.5S3.122 15 4.5 15 7 13.878 7 12.5 5.878 10 4.5 10zM4.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 4.5 2m0-1C3.122 1 2 2.122 2 3.5S3.122 6 4.5 6 7 4.878 7 3.5 5.878 1 4.5 1z"/><path d="M4 5h1v6H4z"/><path d="M11 5v1a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v2h1V9a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2V5h-1z"/></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="M11.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 11.5 2m0-1C10.122 1 9 2.122 9 3.5S10.122 6 11.5 6 14 4.878 14 3.5 12.878 1 11.5 1zM4.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 4.5 11m0-1C3.122 10 2 11.122 2 12.5S3.122 15 4.5 15 7 13.878 7 12.5 5.878 10 4.5 10zM4.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 4.5 2m0-1C3.122 1 2 2.122 2 3.5S3.122 6 4.5 6 7 4.878 7 3.5 5.878 1 4.5 1z"/><path d="M4 5h1v6H4z"/><path d="M11 5v1a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v2h1V9a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2V5h-1z"/></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-fork" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="actions-code-fork" 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='M11.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 11.5 2m0-1C10.122 1 9 2.122 9 3.5S10.122 6 11.5 6 14 4.878 14 3.5 12.878 1 11.5 1zM4.5 11a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 4.5 11m0-1C3.122 10 2 11.122 2 12.5S3.122 15 4.5 15 7 13.878 7 12.5 5.878 10 4.5 10zM4.5 2a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 4.5 2m0-1C3.122 1 2 2.122 2 3.5S3.122 6 4.5 6 7 4.878 7 3.5 5.878 1 4.5 1z'/%3e%3cpath d='M4 5h1v6H4z'/%3e%3cpath d='M11 5v1a1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v2h1V9a1 1 0 0 1 1-1h4a2 2 0 0 0 2-2V5h-1z'/%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-fork;
}