ui

Separator

A separator element accessible to screen readers. Built with Base UI and Tailwind CSS. Copy-paste ready.

API Reference

Installation

Usage

Examples

Vertical Separator

A vertical orientation separator for dividing inline content placed side by side.

Vertical With Groups

Uses multiple vertical separators to divide a row of grouped items such as a toolbar or navigation link strip.

Horizontal Separator

A horizontal orientation separator that spans the full width of its container to divide stacked content sections.

With Text Label

A horizontal separator with a text label centered in the middle, commonly used as an "or" divider in authentication forms.

Order Summary

Uses multiple horizontal separators between line items in an order summary layout to visually distinguish each row.

Social Stats Bar

Compact profile stat metrics (followers, following, posts, likes) separated by short vertical separators in a single row.

Section Heading with Line

A left-aligned section title with a horizontal separator extending to fill the remaining width — a common content grouping pattern.

Small navigation links (Privacy, Terms, Cookies…) separated by hairline vertical dividers, as commonly seen in page footers.

Card Section Dividers

Horizontal separators between rows inside a bordered card, cleanly dividing settings or menu sections without extra spacing.

Toolbar with Separator Groups

A rich-text-style toolbar with bold, italic, and underline actions in one group, alignment in another, and a link button in a third — each group separated by a vertical separator.