ONONC

Separator

Thin divider, horizontal or vertical, with an optional label.

layout

Styled with ONONC's design tokens — shadcn add installs them for you.

OR

Customize

Orientation
Label (horizontal)

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Divider direction.
labelReactNode—Optional centered label (horizontal only).
classNamestring—Extra classes.