Skip to content

Divider

Divider renders a thin separator line styled with theme border colors.

Usage

DividerExample.tsx
import { Divider, Box, Text } from '@masumdev/rn-ui';
export function DividerExample() {
return (
<Box gap="md">
<Text>Section 1</Text>
<Divider />
<Text>Section 2</Text>
</Box>
);
}

Props API

PropTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Divider line orientation.
colorstringOverride border color.