Skip to Content
Skip to content

Separator

Neumorphic separator on the Radix primitive. An engraved line: a rounded two-stop gradient, dark crease over lit edge, derived from the surface token and thickened by Elevation.

Engraved line

A dark crease over a lit edge, cut into the surface.

Docs
Blog
Source

Installation

bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-separator.json

Usage

import { Separator } from "@/components/ui/neu/separator"
<Separator />

Vertical

Use orientation="vertical". It fills the parent's height, so give the row a height.

<div className="flex h-5 items-center gap-4">
  <span>Docs</span>
  <Separator orientation="vertical" />
  <span>Blog</span>
</div>

On this page