Separator

Visually or semantically separates content.

buridan add separator

Component Guide

Use the following to build the Separator component.

from components.ui.separator import separator

Source Code & Dependencies

For manual installation, copy each of the source codes below in their respective locations.

components/core/core.py

components/ui/separator.py

Examples

Default

The default orientation is "horizontal".

Props used: none required — orientation="horizontal" is the default.

buridan/ui
The UI Library for Reflex Devs.
A set of beautifully designed components that you can customize, extend, and build on.

Vertical

Props used: orientation="vertical" on separator.

Blog
Docs
Source

Vertical separators between menu items with descriptions.

Props used: orientation="vertical" on separator.

SettingsManage preferences
AccountProfile & security

List

Horizontal separators between list items.

Props used: none required — orientation="horizontal" is the default.

Item 1
Value 1
Item 2
Value 2
Item 3
Value 3

API Reference

separator

separator(orientation="vertical")
Prop Type Default
orientation Literal["horizontal", "vertical"] "horizontal"
decorative bool True
class_name str ""

When decorative=True (the default), aria-hidden="true" is set — the separator is treated as purely visual. Set decorative=False to render it as a semantic role="separator" for assistive technology instead.