form-radio-button
Introduced in v1.5.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><circle cx="8" cy="8" r="6.5" fill="#FFF"/><path fill="#999" d="M8 2c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6m0-1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7z"/></g><g><circle cx="8" cy="8" r="4" fill="#666"/></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><circle cx="8" cy="8" r="6.5" fill="#FFF"/><path fill="#999" d="M8 2c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6m0-1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7z"/></g><g><circle cx="8" cy="8" r="4" fill="#666"/></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/form.svg#form-radio-button" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="form-radio-button" 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%3e%3ccircle cx='8' cy='8' r='6.5' fill='%23FFF'/%3e%3cpath fill='%23999' d='M8 2c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6 2.7-6 6-6m0-1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7z'/%3e%3c/g%3e%3cg%3e%3ccircle cx='8' cy='8' r='4' fill='%23666'/%3e%3c/g%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-form.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-form-radio-button;
}