# VStack
URL: /lynx/foundation/layout/v-stack
Source: https://github.com/daangn/seed-design/blob/dev/docs/content/lynx/foundation/layout/v-stack.mdx
VStack component is a layout component in Lynx that stacks child elements vertically.
It is recommended to build layouts using the zero-runtime styling library you are using.
See the [Styling Guide](/lynx/getting-started/styling) for reasons and alternative examples.
## Installation
- npm: npm install @seed-design/lynx-react @seed-design/lynx-css
- pnpm: pnpm add @seed-design/lynx-react @seed-design/lynx-css
- yarn: yarn add @seed-design/lynx-react @seed-design/lynx-css
- bun: bun add @seed-design/lynx-react @seed-design/lynx-css
## Usage
```tsx
import { Box, Text, VStack } from "@seed-design/lynx-react";
export function App() {
return (
First item
Second item
);
}
```
`VStack` renders Lynx native `` directly and applies `display="flex"` and `flexDirection="column"` by default. Since it does not compose `Box` internally, it reduces the number of primitive component layers in repeated rendering.
## Props
## Layout Aliases
`VStack` provides frequently used flex properties with short aliases.
| Prop | Applied style |
| --------- | ---------------- |
| `align` | `alignItems` |
| `justify` | `justifyContent` |
| `wrap` | `flexWrap` |
| `grow` | `flexGrow` |
| `shrink` | `flexShrink` |
The remaining style props can be used in the same scope as `Box`.
```tsx
Vertical alignment
```
## Differences from Web Version
Lynx `VStack` has the following differences from React `VStack`:
- Does not support `as` or `asChild`. Always renders Lynx native ``.
- Does not provide the deprecated `Stack` alias. Lynx explicitly uses `VStack` / `HStack`.
- Unsupported StyleProps are not exposed, same as in `Box`.