A visual divider used to separate content or group related items.
Standard horizontal divider.
Above the line
Below the line
<x-ui::separator />
Use the orientation prop to switch between horizontal and vertical dividers.
Blog
Docs
Source
<!-- Horizontal (Default) -->
<x-ui::separator orientation="horizontal" />
<!-- Vertical -->
<div class="flex h-5 items-center gap-4">
<div>Blog</div>
<x-ui::separator orientation="vertical" />
<div>Docs</div>
<x-ui::separator orientation="vertical" />
<div>Source</div>
</div>
Display a text label in the center of a horizontal separator.
<x-ui::separator label="OR" />
<x-ui::separator label="Continue with" />