Separator

Horizontal or vertical divider.

Above

Below

Installation

npx @noarka/cli add separator

Usage

tsx
import { Separator } from "@noarka/ui";
tsx
<div className="space-y-2 text-sm">  <p>Drafts</p>  <Separator />  <p>Published</p></div>

Examples

Vertical

Place dividers between inline items in a fixed-height row.

HomeDocsBlog

Menu list

Split stacked rows with hairlines.

Profile

Billing

Sign out

Custom style

Recolor through className overrides.

Above

Below

API reference

Separator

PropTypeDefault
orientation

Divider direction. Vertical dividers stretch to the row height.

"horizontal" | "vertical""horizontal"
className

Additional classes merged with the default divider styles.

string-