A line between groups of content, horizontal or vertical.
import { Separator } from "@usememos/ui";
<Separator />
<Separator orientation="vertical" />interface SeparatorProps extends BaseSeparator.Props {
orientation?: "horizontal" | "vertical"; // default "horizontal"
}Wraps Base UI's Separator: a <div role="separator"> with aria-orientation.
- Prefer space over lines. Use a separator only where
space-6alone doesn't make the groups clear. - In a ToggleGroup, a vertical Separator splits clusters. Menus use
Menu.Separator.
- 1px
line. A vertical separator stretches to the height of its row.