This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
列
用于通用 @expo/ui 组件的垂直布局容器。
Android
iOS
Web
Included in Expo Go
Recommended version:
~58.0.15
一个垂直布局容器,将其子元素从上到下排列。在 iOS 上委托给 SwiftUI 的 VStack,在 Android 上委托给 Jetpack Compose 的 Column,在网页上委托给 flex View。
🌐 A vertical layout container that arranges its children from top to bottom. Delegates to SwiftUI's VStack on iOS, Jetpack Compose's Column on Android, and a flex View on web.


安装
🌐 Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
用法
🌐 Usage
基本列
🌐 Basic column
ColumnExample.tsx
对齐
🌐 Alignment
使用 alignment 将子元素沿交叉(水平)轴定位。
🌐 Use alignment to position children along the cross (horizontal) axis.
ColumnAlignmentExample.tsx
应用接口
🌐 API
import { Column } from '@expo/ui';
No API data file found, sorry!