Getting Started
Foundations
Components
Search for a command to run...
Separators help organize content by providing visual breaks between different sections, groups, or elements in an interface. They can be horizontal or vertical and are particularly useful in dense layouts where clear visual separation improves scannability and comprehension. Separators are purely presentational and don't affect the semantic structure of the content, making them ideal for subtle visual organization without impacting accessibility or document outline.
Use separators to create visual hierarchy and group related content without adding excessive spacing. They work well in menus, lists, toolbars, and forms to delineate different sections or groups of controls. Separators should be used thoughtfully as overuse can create visual clutter rather than clarity.
An open-source UI component library.
import { Separator } from "@strongtie/design-system/separator"All components accept standard HTML attributes and React props.
An open-source UI component library.
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
CSS classes used by this component:
separatorEnsure proper accessibility attributes are added when implementing this component.