This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Divider
Jetpack Compose Divider components for creating visual separators.
Android
Included in Expo Go
Recommended version:
~56.0.26
Expo UI provides HorizontalDivider and VerticalDivider matching the official Jetpack Compose Divider API.


Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Horizontal divider
A thin horizontal line to visually separate content in lists and layouts.
HorizontalDividerExample.tsx
Custom thickness and color
Both HorizontalDivider and VerticalDivider accept thickness and color props. Use StyleSheet.hairlineWidth for a single-pixel line, or set a custom thickness and color.
CustomDividerExample.tsx
Vertical divider
A vertical line to separate items side by side in a row layout.
VerticalDividerExample.tsx
API
import { HorizontalDivider, VerticalDivider } from '@expo/ui/jetpack-compose';
No API data file found, sorry!