Primitive
Separator
Visually or semantically separates content.
Radix Primitives
An open-source UI component library.
BlogDocsSource
Installation
npx benflux-ui add separatorUsage
import { Separator } from "@benflux-ui/react"
<Separator />
<Separator orientation="vertical" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal" | "vertical" | "horizontal" | Direction of the separator |
| decorative | boolean | true | When true, the separator is purely visual with no semantic meaning |