Command Palette
Search for a command to run...
Loading...
Loading...
Keep interfaces visually structured with an accessible Separator built on Tailwind CSS and Base UI, making hierarchy easy to manage so you can browse and copy the code to get started.
UIAble Separator is a simple, highly accessible visual dividing line used to separate content or groups of related elements. Built on Base UI principles, it acts as a much more flexible and semantic alternative to the native HTML <hr> tag.
The implementation is part of the project itself, enabling full customization of markup, spacing rules, and layout behavior without external constraints.
It is styled entirely using Tailwind CSS, taking the frustration out of styling vertical lines within flexbox layouts or handling margins mathematically.
Native <hr> tags are notoriously difficult to style vertically and can cause massive screen reader fatigue if used purely for visual decoration (as the reader will announce "separator` every time). ${branding.brandName} Separator utilizes Base UI to allow you to configure whether the line is semantic (role=`separator") or purely decorative (role="none").
No external dependency constraints exist since the code is part of the project itself. This allows complete freedom to modify the component structure, from adjusting thickness and color values to applying gradient transitions on the edges.
Tailwind CSS integration ensures visual consistency, so all divider elements remain aligned with the established design language.
UIAble Separator is designed to bring order to dense interfaces by creating subtle visual boundaries between related UI elements. It helps improve readability without introducing heavy visual elements.
You can effortlessly integrate it into advanced layouts such as:
It integrates directly with the Tailwind CSS design system, so any changes to border colors or theme variables are instantly applied to the separator.