actions-lightbulb

Introduced in v2.3.0
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 1a4.5 4.5 0 0 0-4.5 4.5C3.5 7.263 5 9 5 11v2l.862 1.724a.5.5 0 0 0 .447.276h3.382a.5.5 0 0 0 .447-.276L11 13v-2c0-2 1.5-3.737 1.5-5.5A4.5 4.5 0 0 0 8 1zM4.5 5.5C4.5 3.57 6.07 2 8 2s3.5 1.57 3.5 3.5c0 .654-.31 1.401-.638 2.192-.291.702-.611 1.472-.766 2.308H5.904c-.155-.836-.475-1.606-.766-2.308C4.81 6.901 4.5 6.154 4.5 5.5zM9.382 14H6.618l-.5-1h3.764l-.5 1zM10 12H6v-1h4v1z"/><path d="M8 3a2.5 2.5 0 0 0-2.5 2.5h1C6.5 4.673 7.173 4 8 4V3z"/></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 1a4.5 4.5 0 0 0-4.5 4.5C3.5 7.263 5 9 5 11v2l.862 1.724a.5.5 0 0 0 .447.276h3.382a.5.5 0 0 0 .447-.276L11 13v-2c0-2 1.5-3.737 1.5-5.5A4.5 4.5 0 0 0 8 1zM4.5 5.5C4.5 3.57 6.07 2 8 2s3.5 1.57 3.5 3.5c0 .654-.31 1.401-.638 2.192-.291.702-.611 1.472-.766 2.308H5.904c-.155-.836-.475-1.606-.766-2.308C4.81 6.901 4.5 6.154 4.5 5.5zM9.382 14H6.618l-.5-1h3.764l-.5 1zM10 12H6v-1h4v1z"/><path d="M8 3a2.5 2.5 0 0 0-2.5 2.5h1C6.5 4.673 7.173 4 8 4V3z"/></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-lightbulb" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="actions-lightbulb" 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 1a4.5 4.5 0 0 0-4.5 4.5C3.5 7.263 5 9 5 11v2l.862 1.724a.5.5 0 0 0 .447.276h3.382a.5.5 0 0 0 .447-.276L11 13v-2c0-2 1.5-3.737 1.5-5.5A4.5 4.5 0 0 0 8 1zM4.5 5.5C4.5 3.57 6.07 2 8 2s3.5 1.57 3.5 3.5c0 .654-.31 1.401-.638 2.192-.291.702-.611 1.472-.766 2.308H5.904c-.155-.836-.475-1.606-.766-2.308C4.81 6.901 4.5 6.154 4.5 5.5zM9.382 14H6.618l-.5-1h3.764l-.5 1zM10 12H6v-1h4v1z'/%3e%3cpath d='M8 3a2.5 2.5 0 0 0-2.5 2.5h1C6.5 4.673 7.173 4 8 4V3z'/%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-lightbulb;
}

Download

Download