--- title: StackLayoutAlign description: "Learn how to build custom functionality when working with the React Layout by Kendo UI with the help of the StackLayoutAlign." api_reference: true type: inner_api slug: api_layout_stacklayoutalign --- # StackLayoutAlign Specifies the horizontal and vertical alignment of the inner StackLayout elements.
| Name | Type | Default | Description |
|---|---|---|---|
| #### horizontal? |
"center" | "stretch" | "end" | "start"
|
Defines the possible horizontal alignment of the inner StackLayout elements ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-horizontal-alignment)). The available values are: - `start`—Uses the start point of the container. - `center`—Uses the center point of the container. - `end`—Uses the end point of the container. - (Default)`stretch`—Stretches the items to fill the width of the container. | |
| #### vertical? |
"stretch" | "top" | "bottom" | "middle"
|
Defines the possible vertical alignment of the inner StackLayout elements ([see example](https://www.telerik.com/kendo-react-ui/components/layout/stacklayout/layout#toc-vertical-alignment)). The available values are: - `top`—Uses the top point of the container. - `middle`—Uses the middle point of the container. - `bottom`—Uses the bottom point of the container. - (Default)`stretch`—Stretches the items to fill the height of the container. |