Components
Toggle sidebar

Separator

Visually divide sections of content or groups of items.

Copy to clipboard
import { Separator } from '@fluxui-dev/react';<Separator />

With text

Add text to the separator for a more descriptive element.

Copy to clipboard
<Separator text="or" />

Vertical

Separate contents with a vertical separator when horizontally stacked.

Copy to clipboard
<Separator vertical />

Limited height

You can limit the height of the vertical separator by adding vertical margin.

Copy to clipboard
<Separator vertical className="my-2" />

Subtle

Flux offers a subtle variant for a separator that blends into the background.

Copy to clipboard
<Separator vertical variant="subtle" />

Reference

Separator

Prop
Description
vertical
Displays a vertical separator. Default is horizontal.
variant
Visual style variant. Options: default, subtle. Default: default.
text
Optional text, or any other content, to display in the center of a horizontal separator.
orientation
Alternative to vertical prop. Options: horizontal, vertical. Default: horizontal.
CSS
Description
className
Additional CSS classes applied to the separator. Commonly my-* to shorten vertical separators.
Attribute
Description
data-flux-separator
Applied to the root element for styling and identification.
data-orientation
The separator's orientation: horizontal or vertical.
Copyright © 2026 Wireable LLC ·Terms of Service
Built with by
Caleb Porzio and Hugo Sainte-Marie