Separator
 Visually or semantically separates content. 
 Reka UI 
 An open-source UI component library. 
 Blog 
 Docs 
 Source 
Features
- Supports horizontal and vertical orientations.
 
Installation
Install the component from your command line.
sh
$ npm add reka-uiAnatomy
Import all parts and piece them together.
vue
<script setup>
import { Separator } from 'reka-ui'
</script>
<template>
  <Separator />
</template>API Reference
Root
The separator.
| Prop | Default | Type | 
|---|---|---|
as | 'div' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by   | 
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details.  | |
decorative | booleanWhether or not the component is purely decorative.   | |
orientation | 'horizontal' | 'vertical' | 'horizontal'Orientation of the component. Either   | 
| Data Attribute | Value | 
|---|---|
[data-orientation] | "vertical" | "horizontal" | 
Accessibility
Adheres to the separator role requirements.
