Separator

Visually or semantically separates content.

Radix Primitives

An open-source UI component library.

Blog
Docs
Source
import { Separator } from "@notion-kit/shadcn";export default function Demo() {  return (    <div>      <div className="space-y-1">        <h4 className="text-sm leading-none font-medium">Radix Primitives</h4>        <p className="text-sm text-muted">          An open-source UI component library.        </p>      </div>      <Separator className="my-4" />      <div className="flex h-5 items-center space-x-4 text-sm">        <div>Blog</div>        <Separator orientation="vertical" />        <div>Docs</div>        <Separator orientation="vertical" />        <div>Source</div>      </div>    </div>  );}

Installation

pnpm add @notion-kit/shadcn

API Reference

Separator

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"The orientation of the separator.
decorativebooleantrueWhether or not the component is purely decorative. When true, accessibility-related attributes are updated so that that the rendered element is removed from the accessibility tree.