Divider Components

Clean section separators built with TailwindCSS. Centered labels, icons, gradient lines, and action dividers.

1. Basic Divider Styles

Thin, thick, dashed, dotted, and gradient dividers. Pure CSS, no scripts.

Thin


Thick


Dashed


Dotted


Gradient

2. Centered Label & Icon

A divider with text or an icon in the center, using flex and utility classes.

Continue

3. Section Divider with Actions

A divider that doubles as a small toolbar (e.g., “Activity” with action buttons).

Activity

4. Title + Subtitle Chip

A centered chip that shows a title and a small subtitle, flanked by soft gradient lines.

Specifications What’s included

5. Timeline Date Divider

Great for activity feeds—shows a date chip in the middle with straight lines on both sides.

Jan 15, 2025

6. Decorative SVG Wave

A section break using an SVG wave. Useful between contrasting sections.

Content Above

Use an SVG wave as a visual section break.

Content Below

Layers nicely with light backgrounds.

💡 Quick Tips

  • Use <hr> for simple dividers; use div.h-px for gradients.
  • Centered labels are just two flex children with flex-1 lines and a middle element.
  • Keep contrast high; use border-gray-200/300 on light backgrounds.

We use cookies to improve your experience and analytics. You can accept all cookies or reject non-essential ones.

Learn More