---
title: "Orientation"
---
import XRef from "../../../../../components/XRef.astro";
import Signature from "../../../../../components/Signature.astro";

```python
from slint.language import Orientation
```

Represents the orientation of an element or widget such as the `Slider`.

## Values

- **<span id="horizontal">`horizontal`</span>** — Element is oriented horizontally.
- **<span id="vertical">`vertical`</span>** — Element is oriented vertically.