---
title: "IconForRecord ViewHelper <core:iconForRecord>"
manual: "Fluid ViewHelper Reference"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3-core-iconforrecord@13.4"
source: "Core/IconForRecord.rst"
modified: "2026-09-17T09:07:45+00:00"
---

# IconForRecord ViewHelper `<core:iconForRecord>`

> [!NOTE]
> This ViewHelper is not available by default.
>
> [Import its namespace](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ApiOverview/Fluid/Index.html#fluid-syntax-viewhelpers-import-namespaces)
> `{namespace core=TYPO3\CMS\Core\ViewHelpers\}` in the Fluid file or
> `xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers/"` in the opening HTML tag.

ViewHelper to display an icon for a record.

Go to the source code of this ViewHelper: [IconForRecordViewHelper.php (GitHub)](https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/ViewHelpers/IconForRecordViewHelper.php).

## Arguments of the `<core:iconForRecord>` ViewHelper

-   **alternativeMarkupIdentifier**

    -   *Type:* string

    alternative markup identifier

-   **row**

    -   *Type:* array
    -   *Required:* true

    the record row

-   **size**

    -   *Type:* string
    -   *Default:* 'small'

    the icon size

-   **table**

    -   *Type:* string
    -   *Required:* true

    the table for the record icon
