---
title: "Case ViewHelper <f:case>"
manual: "Fluid Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/fluid:typo3fluid-fluid-case"
source: "ViewHelpers/Fluid/Case.rst"
rendered: "2026-09-26T08:24:58+00:00"
---

# Case ViewHelper `<f:case>` {#typo3fluid-fluid-case}

> [!NOTE]
> This reference is part of the documentation of Fluid Standalone.
> If you are working with Fluid in TYPO3 CMS, please refer to
> [TYPO3's ViewHelper reference](https://docs.typo3.org/other/typo3/view-helper-reference/14.3/en-us/Global/Case.html) instead.

Case ViewHelper that is only usable within the `f:switch` ViewHelper.

Go to the source code of this ViewHelper: [CaseViewHelper.php (GitHub)](https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/CaseViewHelper.php).

**Arguments**

The following arguments are available for the case ViewHelper:

-   **value**

    -   *Type:* mixed
    -   *Required:* true

    Value to match in this case
