module-form

Introduced in v1.2.0
Available in TYPO3 8.6 9.5 10.4 11.5 12.4 13.x

Module Menu Preview

Usage

Icon Identifier

module-form

Markup

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="16" height="4" x="28" y="36" fill="currentColor" rx="2" ry="2"/><path fill="currentColor" d="M26 24h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4ZM26 32h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4Z"/><g fill="currentColor" opacity=".4"><path d="M42 24H26v-4h16c1.1 0 2 .9 2 2s-.9 2-2 2ZM42 32H26v-4h16c1.1 0 2 .9 2 2s-.9 2-2 2Z"/></g><path fill="var(--icon-color-accent, #ff8700)" d="M48 16v28H16V16h32m2-4H14c-1.1 0-2 .9-2 2v32c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V14c0-1.1-.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 64 64"><rect width="16" height="4" x="28" y="36" fill="currentColor" rx="2" ry="2"/><path fill="currentColor" d="M26 24h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4ZM26 32h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4Z"/><g fill="currentColor" opacity=".4"><path d="M42 24H26v-4h16c1.1 0 2 .9 2 2s-.9 2-2 2ZM42 32H26v-4h16c1.1 0 2 .9 2 2s-.9 2-2 2Z"/></g><path fill="var(--icon-color-accent, #ff8700)" d="M48 16v28H16V16h32m2-4H14c-1.1 0-2 .9-2 2v32c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V14c0-1.1-.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/module.svg?v=1769809642593#module-form" /></svg>
    </span>
</span>

TYPO3 ViewHelper

<core:icon identifier="module-form" size="small" />

TYPO3 Web Component

<typo3-backend-icon identifier="module-form" size="small"></typo3-backend-icon>

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%3crect width='16' height='4' x='28' y='36' fill='%23fff' rx='2' ry='2'/%3e%3cpath fill='%23fff' d='M26 24h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4ZM26 32h-4c-1.1 0-2-.9-2-2s.9-2 2-2h4v4Z'/%3e%3cg fill='%23fff' opacity='.4'%3e%3cpath d='M42 24H26v-4h16c1.1 0 2 .9 2 2s-.9 2-2 2ZM42 32H26v-4h16c1.1 0 2 .9 2 2s-.9 2-2 2Z'/%3e%3c/g%3e%3cpath fill='var(--icon-color-accent, %23ff8700)' d='M48 16v28H16V16h32m2-4H14c-1.1 0-2 .9-2 2v32c0 1.1.9 2 2 2h36c1.1 0 2-.9 2-2V14c0-1.1-.9-2-2-2Z'/%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-form;
}

Download

Download