Skip to content
Playground

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

TSX
import { Separator } from "@zentara-co/zenos-ui";

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

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.

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

PropTypeDefaultDescription
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-*.

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.