Update v4.2 - New components, 10+ framework guides, and quality improvements. Visit Changelog

Tailwind CSS Dividers and <hr>

Separate content with Tailwind CSS dividers, labeled separators, vertical rules, and responsive layouts.

Example

Use the <hr> element to create simple horizontal dividers. By default, it is styled with a top border.









                      
                    

Height

Control divider thickness on <hr> elements with border-width utilities.





                      
                    

With label

Create left-, center-, and right-aligned dividers with labels.

Left aligned
Center aligned
Right aligned

Vertical button group with label

Separate vertically stacked button groups with a labeled divider.

Or

Responsive

This divider starts horizontally and switches to a vertical layout from the sm breakpoint up.

Reduce browser size to see it in action.

© 2026 Preline Labs.