---
title: "max height · RUAL Documentation"
description: "sets the maximum height of an element."
canonical: https://docs.rual.nl/block-types/styling/uistyle_max_height
language: en
---

# max height

This block is part of the [`styling`](https://docs.rual.nl/block-types/styling) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

sets the maximum height of an element.

- max-height required `value`

- uistyle `uistyle`

A typical wiring for [max height](https://docs.rual.nl/block-types/styling/uistyle_max_height): the `uistyle` out pin feeds [regular card](https://docs.rual.nl/block-types/state%20ui/state_card).

![Studio canvas example for the max height block: typical wiring for max height.](https://docs.rual.nl/canvas-examples/uistyle_max_height.png)

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
