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.

Docs
Components
Themes

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 separator

Usage

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

PropTypeDefault
orientation

Direction of the divider.

"horizontal" | "vertical""horizontal"
decorative

When false, exposes a `separator` role to assistive tech.

booleantrue
children

Optional centered label (horizontal only).

ReactNode—