---
title: VerticalBox
description: VerticalBox - a VerticalLayout with theme-appropriate spacing and padding.
---

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

A `VerticalBox` is a <Link type="VerticalLayout" /> with default `padding` and `spacing` from <Link type="StyleMetrics" />,
providing theme-appropriate values. Use `VerticalLayout` directly when you need full control over spacing and padding.
