Separator
A thin line that divides content: the rows of a list or, standing vertically, inline items.
import { Separator } from "@plexui/react-native"Examples
Overview
Platforms
| iOS 26 | Android | |
|---|---|---|
| Native component | None (a Plex view drawn as the web's line) | None (a Plex view drawn as a divider) |
| Look | A 1pt line in the border color | A hairline in the divider gray |
API
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | Direction of the divider |
decorative | boolean | true | When true, screen readers skip the separator. Set false when the divider carries semantic grouping (a separator) |
style | StyleProp<ViewStyle> | — | Style of the line |
testID | string | — | Test id |
style stands for className; the web's other <div> attributes have no counterpart.