---
title: "Layout ViewHelper <f:layout>"
manual: "Fluid ViewHelper Reference"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3viewhelper:typo3fluid-fluid-layout@13.4"
source: "Global/Layout.rst"
modified: "2026-09-17T09:07:45+00:00"
---

# Layout ViewHelper `<f:layout>`

With this ViewHelper, you can select a layout to be used for the current template.

> [!WARNING]
> **Deprecated since version 4.4**
>
> Prevously, it was possible to set the layout of a template with the special
> variable `layoutName`. This will no longer work with Fluid 5.

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

## Arguments of the `<f:layout>` ViewHelper

-   **name**

    -   *Type:* string

    Name of layout to use. If none given, "Default" is used.
