Separator
A semantic or decorative rule between related content.
A semantic or decorative rule between related content.
Workspace activity
Changes made during the last seven days.
18 deployments
4 policy updates
Import
Section titled “Import”import { Separator } from "@zentara-co/zenos-ui";Orientation
Section titled “Orientation”Horizontal separators divide stacked content. Vertical separators divide controls or labels arranged in a row; their parent must provide a height for the separator’s h-full sizing.
Horizontal
General settings
Security settings
Vertical
Decorative and semantic
Section titled “Decorative and semantic”Separators are decorative by default and use role="none". Set decorative={false} only when the boundary communicates a meaningful change between groups of content. Semantic separators expose role="separator" and their orientation to assistive technology.
Current plan
Security Pro renews on October 24.
Usage
18 of 25 member seats are assigned.
Spacing and color
Section titled “Spacing and color”Separator does not add surrounding margin. Control spacing with the parent layout, and use className when a specific surface needs a different semantic border token.
Variants
horizontalvertical API
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | horizontal | vertical | horizontal | Separator axis. |
decorative | boolean | true | Controls semantic separator behavior. |
native props | React.HTMLAttributes<HTMLDivElement> | — | Forwards native attributes, events, aria-*, data-*, className, style, and ref. |
Unless narrowed above, each DOM-rendering part also accepts its underlying native or Base UI props,
including className, style, aria-*, and data-*.
Accessibility
Section titled “Accessibility”Prefer the default decorative behavior when headings, lists, regions, or other structure already communicates the grouping. A semantic separator should reinforce a real content boundary rather than add noise to the accessibility tree. Separator is non-interactive and does not receive keyboard focus.