Skip to content
Display

Separator

Server Component

Visual divider between content.

Import

tsx
import { Separator } from "@cronus-ui/ui";
bash
npx cronus-ui add separator

Examples

.cronus

The same component declared in Cronus. Emitted at build time from the audit fixtures — the kernel renders it as HTML with no React.

PortedParity: MatchGeometry 1/1Pixel diff 0 pxLogic 1/1Parity scoreboard
horizontal.cronus
app "audit-fixtures" {
  port 5176
}

style {
  preset aurora
  theme dark
}

component SeparatorHorizontal layout:inline style:separator {
  label "horizontal"
}

page "/audit/separator/horizontal" type:custom {
  use SeparatorHorizontal
}

API Reference

Generated from the component's exported types.

SeparatorProps

Extends ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>

Skip SeparatorProps props table
PropTypeDefaultDescription
orientation
"horizontal" | "vertical"——
decorative
booleantrueWhen true, hidden from the accessibility tree.
asChild
boolean—Render as the child element via Slot.