Getting Started
Foundations
Components
Search for a command to run...
Separators (also called dividers) create visual boundaries between groups of content, helping organize information and improve scannability. They can be horizontal or vertical lines and optionally include text labels. Separators are commonly used in menus, lists, forms, and layouts to create clear visual separation without adding significant spacing.
Built on top of Radix UI's Separator primitive with proper accessibility support including ARIA attributes that identify it as a separator for screen readers.
An open-source UI component library.
import { Separator } from "@strongtie/design-system/separator"<Separator>This component accepts the following custom props. For additional props inherited from Radix UI primitives see the Radix UI documentation.
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | - | Optional text to display within the separator. When provided, renders as a line with text in the middle. |
An open-source UI component library.
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
The following data attributes are used to identify component parts:
separatorOther CSS classes used by this component:
-horizontal-text-verticalhorizontalseparatorThis component inherits accessibility features from Radix UI, including: