ComponentsData Display
Separator
Visual divider between content sections in horizontal or vertical orientation.
Horizontal
The default orientation renders a full-width horizontal rule using Visor border tokens.
Section A
Section B
Vertical
Set orientation="vertical" to render a vertical divider between inline elements.
Item 1Item 2Item 3
Installation
npx visor add separatorThis copies two files into your project:
components/ui/separator/separator.tsx— the componentcomponents/ui/separator/separator.module.css— the styles
Usage
import { Separator } from '@/components/ui/separator/separator';
<Separator />
<Separator orientation="vertical" />API Reference
SeparatorProps
No props data available for “separator”.
The component also accepts all standard Radix UI Separator props.
Accessibility
- Built on
@radix-ui/react-separatorwith correctrole="separator"semantics. - Set
decorative={false}when the separator conveys meaningful content grouping that screen readers should announce. - Decorative separators (the default) are hidden from the accessibility tree with
role="none".