---
title: Horizontal
description: Horizontal API.
---

import CodeSnippetMD from '@slint/common-files/src/components/CodeSnippetMD.astro';
import SlintProperty from '@slint/common-files/src/components/SlintProperty.astro';


The `Horizontal` layout is a horizontal layout that arranges its children horizontally.

It extends the `VerticalLayout` component, but replaces the padding and spacing properties with the `MaterialStyleMetrics` values.
