Basic Usage
Vertical Orientation
Setorientation="vertical" to divide items sitting side by side in a Row, such as inline links or breadcrumb segments. A vertical separator has no intrinsic height, so it stays invisible until you give it one — the example sets css_class="h-4" on each separator to make the divider tall enough to see between its neighbors.
In Card Content
Dropping a separator between blocks inside a card visually groups related content into distinct sections without the heavier weight of nesting more cards. Usespacing to set the breathing room above and below the line so the sections feel separated but still part of one card.
API Reference
Separator Parameters
Separator direction:
"horizontal", "vertical".Space around the separator using the Tailwind spacing scale. Adds vertical margin (
my-N) for horizontal separators and horizontal margin (mx-N) for vertical separators.Additional Tailwind CSS classes. Useful for controlling height/width.
Protocol Reference
Separator