This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Divider
A SwiftUI Divider component for creating visual separators.
iOS
tvOS
Included in Expo Go
Expo UI Divider matches the official SwiftUI Divider API and creates a visual separator between content.


Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic divider
BasicDividerExample.tsx
Divider in a list
DividerInListExample.tsx
Divider in a context menu
Dividers are commonly used to separate groups of actions in context menus.
DividerInContextMenuExample.tsx
API
import { Divider } from '@expo/ui/swift-ui';
Component
Type: React.Element<CommonViewModifierProps>
Divider component uses the native Divider component. A visual element that can be used to separate other content.