zynactradocs

Separator

A hairline between groups of content, horizontal or vertical.

@zynactra/ui

Components for every Zynactra product.

DocsThemesChangelog

Usage

import { Separator } from "@zynactra/ui/separator"
<Separator />
<Separator orientation="vertical" />

Guidelines

  • Reach for spacing first. Add a separator only when spacing alone doesn't read as a break.
  • It's always border-border. Never a gradient: the brand rule is reserved for the page's top edge.
  • A vertical separator needs a parent with a fixed height (h-5).

API reference

Behaviour and props come from Base UI. See the Base UI Separator docs.

Edit on GitHub

On this page