module-dashboard
Introduced in v1.9.0
Available in TYPO3
9.5 10.4 11.5
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#A4276A" d="M0 0h64v64H0z"/><path fill="#FFF" d="M40 16h10v-1c0-.5-.5-1-1-1h-9v2z" opacity=".5"/><path fill="#FFF" d="M28 14h10v2H28z" opacity=".75"/><path fill="#FFF" d="M40 18H26v-4H15c-.5 0-1 .5-1 1v34c0 .5.5 1 1 1h34c.5 0 1-.5 1-1V18H40z"/><path fill="#A4276A" d="M38 22h8v14h-8z"/><path fill="#A4276A" fill-rule="evenodd" d="M18 22h18v14H18z" clip-rule="evenodd"/><path fill="#FFF" d="M38 24h8v12h-8z" opacity=".5"/><path fill="#FFF" fill-rule="evenodd" d="M36 36H18v-4l6-2 4 2 4-2 4-6z" clip-rule="evenodd" opacity=".5"/><path fill="#A4276A" d="M28 40h18v2H28zM28 44h10v2H28zM18 40h8v6h-8z"/><path fill="#FFF" d="M18 42h8v4h-8z" opacity=".5"/></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 64 64"><path fill="#A4276A" d="M0 0h64v64H0z"/><path fill="#FFF" d="M40 16h10v-1c0-.5-.5-1-1-1h-9v2z" opacity=".5"/><path fill="#FFF" d="M28 14h10v2H28z" opacity=".75"/><path fill="#FFF" d="M40 18H26v-4H15c-.5 0-1 .5-1 1v34c0 .5.5 1 1 1h34c.5 0 1-.5 1-1V18H40z"/><path fill="#A4276A" d="M38 22h8v14h-8z"/><path fill="#A4276A" fill-rule="evenodd" d="M18 22h18v14H18z" clip-rule="evenodd"/><path fill="#FFF" d="M38 24h8v12h-8z" opacity=".5"/><path fill="#FFF" fill-rule="evenodd" d="M36 36H18v-4l6-2 4 2 4-2 4-6z" clip-rule="evenodd" opacity=".5"/><path fill="#A4276A" d="M28 40h18v2H28zM28 44h10v2H28zM18 40h8v6h-8z"/><path fill="#FFF" d="M18 42h8v4h-8z" opacity=".5"/></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/module.svg#module-dashboard" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-dashboard" 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 64 64'%3e%3cpath fill='%23A4276A' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M40 16h10v-1c0-.5-.5-1-1-1h-9v2z' opacity='.5'/%3e%3cpath fill='%23FFF' d='M28 14h10v2H28z' opacity='.75'/%3e%3cpath fill='%23FFF' d='M40 18H26v-4H15c-.5 0-1 .5-1 1v34c0 .5.5 1 1 1h34c.5 0 1-.5 1-1V18H40z'/%3e%3cpath fill='%23A4276A' d='M38 22h8v14h-8z'/%3e%3cpath fill='%23A4276A' fill-rule='evenodd' d='M18 22h18v14H18z' clip-rule='evenodd'/%3e%3cpath fill='%23FFF' d='M38 24h8v12h-8z' opacity='.5'/%3e%3cpath fill='%23FFF' fill-rule='evenodd' d='M36 36H18v-4l6-2 4 2 4-2 4-6z' clip-rule='evenodd' opacity='.5'/%3e%3cpath fill='%23A4276A' d='M28 40h18v2H28zM28 44h10v2H28zM18 40h8v6h-8z'/%3e%3cpath fill='%23FFF' d='M18 42h8v4h-8z' opacity='.5'/%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-module.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-module-dashboard;
}