Separator
Horizontal or vertical rule, decorative by default.


npx @eoria/cli add separatorUsage
import { Separator } from '@/components/ui/separator'
<Separator /><HStack gap={3} style={{ height: 24 }}> <Text>Left</Text> <Separator orientation="vertical" /> <Text>Right</Text></HStack>Props
| Prop | Values | Default |
|---|---|---|
orientation |
horizontal, vertical |
horizontal |
decorative |
boolean | true |
Decorative separators are hidden from assistive technology. Set decorative={false} to expose it with the separator role. Inside a row, give it flex: 1 to fill the remaining width.