content-audio

Introduced in v1.1.0
Available in TYPO3 7.6 8.6 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"><path fill="#323232" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/><g fill="#FFF" opacity=".15"><path d="M9.9 7.5c.1.2.1.3.1.5 0 1.1-.9 2-2 2-.2 0-.3 0-.5-.1l3.1 4.5c1.7-.7 3.1-2.1 3.8-3.8L9.9 7.5zM6 8c0-1.1.9-2 2-2 .2 0 .3 0 .5.1L5.4 1.5c-1.8.7-3.2 2.1-3.9 3.9L6 8.5V8z"/></g><path fill="#1A1A1A" 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"/><path fill="#1E1E1E" d="M8 7c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m0-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></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"><path fill="#323232" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/><g fill="#FFF" opacity=".15"><path d="M9.9 7.5c.1.2.1.3.1.5 0 1.1-.9 2-2 2-.2 0-.3 0-.5-.1l3.1 4.5c1.7-.7 3.1-2.1 3.8-3.8L9.9 7.5zM6 8c0-1.1.9-2 2-2 .2 0 .3 0 .5.1L5.4 1.5c-1.8.7-3.2 2.1-3.9 3.9L6 8.5V8z"/></g><path fill="#1A1A1A" 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"/><path fill="#1E1E1E" d="M8 7c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m0-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></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/content.svg#content-audio" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="content-audio" 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%3cpath fill='%23323232' d='M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3e%3cg fill='%23FFF' opacity='.15'%3e%3cpath d='M9.9 7.5c.1.2.1.3.1.5 0 1.1-.9 2-2 2-.2 0-.3 0-.5-.1l3.1 4.5c1.7-.7 3.1-2.1 3.8-3.8L9.9 7.5zM6 8c0-1.1.9-2 2-2 .2 0 .3 0 .5.1L5.4 1.5c-1.8.7-3.2 2.1-3.9 3.9L6 8.5V8z'/%3e%3c/g%3e%3cpath fill='%231A1A1A' 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%3cpath fill='%231E1E1E' d='M8 7c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1m0-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3e%3c/svg%3e");
}

Sass Background Variable

@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-content.scss";

.myclass {
    background-size: 1em 1em;
    background-image: $icon-content-audio;
}

Download

Download