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 26Android
Native componentNone (a Plex view drawn as the web's line)None (a Plex view drawn as a divider)
LookA 1pt line in the border colorA hairline in the divider gray

API

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Direction of the divider
decorativebooleantrueWhen true, screen readers skip the separator. Set false when the divider carries semantic grouping (a separator)
styleStyleProp<ViewStyle>—Style of the line
testIDstring—Test id

style stands for className; the web's other <div> attributes have no counterpart.