Separator
A visual or semantic divider between content, horizontal or vertical, optionally labelled.
Data DisplayRadix Separator
Plum UI
Components you own, motion you'll love.
DocsComponentsThemes
Playground
Tweak the props, the preview and the code follow.
or continue with
Props
<Separator>or continue with</Separator>
Installation
npx @plumsydev/plum-ui add separatorUsage
import { Separator } from "@/components/ui/separator"<Separator />
<Separator orientation="vertical" />
<Separator>or</Separator>Examples
With label
Pass children to center a label between two lines.
or continue with email
In a toolbar
Vertical separators group related controls.
API Reference
Separator
| Prop | Type | Default |
|---|---|---|
orientationDirection of the divider. | "horizontal" | "vertical" | "horizontal" |
decorativeWhen false, exposes a `separator` role to assistive tech. | boolean | true |
childrenOptional centered label (horizontal only). | ReactNode | — |