---
title: "width · RUAL Documentation"
description: "Sets the width of an element."
canonical: https://docs.rual.nl/block-types/styling/uistyle_width
language: en
---

# width

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 width of an element.

- width required `value`

- uistyle `uistyle`

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

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

### Version history

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