Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Separator

A rule between content. Takes a label for “or” dividers.

DisplayRadix SeparatorDumb extras
or
Props
$ pnpm dlx shadcn@latest add @dumb/separator

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { Separator } from "@/components/ui/separator"
<Separator label="or" />

With label

label sets text into the rule.

or

API reference

Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.

Separator

PropTypeDefault
orientation"horizontal" | "vertical"

Direction of the rule.

"horizontal"
labelextraReactNode

Text set into a horizontal rule.

-