Beautiful UI Dividers

An extensive, production-ready library of 25 custom, high-fidelity divider components crafted specifically for modern web interfaces. Copy-paste CSS directly into your open-source projects.

Showing 25 unique components

01. Basic Divider

Minimal
<div class="uiv-divider-basic"></div>
.uiv-divider-basic {
  width: 100%;
  height: 1px;
  background-color: var(--uiv-border-color, #3a3a3c);
  margin: 2rem 0;
}

02. Gradient Divider

Gradient
<div class="uiv-divider-gradient"></div>
.uiv-divider-gradient {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #007bff, #00ff88, #007bff, transparent);
  background-size: 200% 100%;
  margin: 2rem 0;
}

03. Dashed Divider

Minimal
<div class="uiv-divider-dashed"></div>
.uiv-divider-dashed {
  width: 100%;
  height: 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

04. Dotted Divider

Minimal
<div class="uiv-divider-dotted"></div>
.uiv-divider-dotted {
  width: 100%;
  height: 0;
  border-top: 4px dotted rgba(255, 255, 255, 0.25);
  letter-spacing: 4px;
  margin: 2rem 0;
}

05. Double Line Divider

Minimal
<div class="uiv-divider-double"></div>
.uiv-divider-double {
  width: 100%;
  height: 7px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

06. Icon Divider

Decorative
<div class="uiv-divider-icon">
  <i class="fas fa-star"></i>
</div>
.uiv-divider-icon {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}
.uiv-divider-icon::before,
.uiv-divider-icon::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.uiv-divider-icon i {
  padding: 0 15px;
  color: #00adb5;
  font-size: 14px;
}

07. Text Divider

Minimal
OR CONTINUE WITH
<div class="uiv-divider-text">
  <span>OR CONTINUE WITH</span>
</div>
.uiv-divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}
.uiv-divider-text::before,
.uiv-divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.uiv-divider-text span {
  padding: 0 15px;
  color: #8e8e93;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

08. Animated Divider

Interactive
<div class="uiv-divider-animated"></div>
.uiv-divider-animated {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff007f, transparent);
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}
.uiv-divider-animated::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: uiv-laser-slide 2s infinite linear;
}
@keyframes uiv-laser-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

09. Neon Divider

Gradient
<div class="uiv-divider-neon"></div>
.uiv-divider-neon {
  width: 100%;
  height: 2px;
  background-color: #00f3ff;
  box-shadow: 0 0 8px #00f3ff, 0 0 15px #00f3ff, 0 0 20px #00f3ff;
  margin: 2rem 0;
}

10. Glassmorphism Divider

Gradient
<div class="uiv-divider-glass"></div>
.uiv-divider-glass {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 2rem 0;
}

11. Dark Theme Divider

Minimal
<div class="uiv-divider-dark"></div>
.uiv-divider-dark {
  width: 100%;
  height: 2px;
  background: #121212;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
  margin: 2rem 0;
}

12. Vertical Divider

Layout
Left Item
Right Item
<div class="uiv-divider-vertical"></div>
.uiv-divider-vertical {
  display: inline-block;
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 1.5rem;
  vertical-align: middle;
}

13. Zigzag Divider

Decorative
<div class="uiv-divider-zigzag"></div>
.uiv-divider-zigzag {
  width: 100%;
  height: 12px;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.15) 25%, transparent 25%), 
                    linear-gradient(225deg, rgba(255,255,255,0.15) 25%, transparent 25%);
  background-size: 16px 16px;
  background-position: 0 0;
  margin: 2rem 0;
}

14. Wave Divider

Decorative
<div class="uiv-divider-wave">
  <svg viewBox="0 0 1200 120" preserveAspectRatio="none">
    <path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z"></path>
  </svg>
</div>
.uiv-divider-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.uiv-divider-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 30px;
}
.uiv-divider-wave .shape-fill {
  fill: rgba(255, 255, 255, 0.08);
}

15. Shadow Divider

Minimal
<div class="uiv-divider-shadow"></div>
.uiv-divider-shadow {
  width: 100%;
  height: 10px;
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.6);
  border-radius: 100%;
  margin: 2rem 0;
}

16. Rainbow Divider

Gradient
<div class="uiv-divider-rainbow"></div>
.uiv-divider-rainbow {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  border-radius: 2px;
  margin: 2rem 0;
}

17. Premium Divider

Premium
<div class="uiv-divider-premium">
  <span class="premium-diamond"></span>
</div>
.uiv-divider-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}
.uiv-divider-premium::before,
.uiv-divider-premium::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}
.uiv-divider-premium .premium-diamond {
  width: 10px; height: 10px;
  background-color: #d4af37;
  transform: rotate(45deg);
  margin: 0 15px;
  box-shadow: 0 0 8px #d4af37;
}

18. Social Share Divider

Layout
<div class="uiv-divider-social">
  <span class="social-line"></span>
  <div class="social-icons-group">
    <a href="#"><i class="fab fa-twitter"></i></a>
    <a href="#"><i class="fab fa-facebook-f"></i></a>
    <a href="#"><i class="fab fa-linkedin-in"></i></a>
  </div>
  <span class="social-line"></span>
</div>
.uiv-divider-social {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  width: 100%;
}
.social-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.social-icons-group {
  display: flex;
  gap: 10px;
  padding: 0 15px;
}
.social-icon-item {
  color: #8e8e93;
  font-size: 14px;
  transition: color 0.2s;
}
.social-icon-item:hover { color: #fff; }

19. Timeline Divider

Layout
Step Completed

System configuration finalized successfully.

<div class="uiv-timeline-item">
  <div class="uiv-timeline-divider">
    <span class="timeline-dot"></span>
    <span class="timeline-line"></span>
  </div>
  <div class="timeline-content">
    <h5>Step Title</h5>
  </div>
</div>
.uiv-timeline-item {
  display: flex;
  gap: 15px;
}
.uiv-timeline-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-dot {
  width: 12px; height: 12px;
  background: #007bff;
  border-radius: 50%;
}
.timeline-line {
  width: 2px;
  flex: 1;
  background: rgba(255,255,255,0.1);
  min-height: 40px;
}

20. Pricing Plan Divider

Layout
POPULAR CHOICE
<div class="uiv-divider-pricing">
  <span class="pricing-badge-text">POPULAR CHOICE</span>
</div>
.uiv-divider-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}
.uiv-divider-pricing::before,
.uiv-divider-pricing::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,123,255,0.4), transparent);
}
.pricing-badge-text {
  padding: 4px 12px;
  background: #007bff;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 1px;
}

21. Section Block Divider

Layout
<div class="uiv-divider-section">
  <div class="section-block-core"></div>
</div>
.uiv-divider-section {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}
.section-block-core {
  width: 60px;
  height: 4px;
  background-color: #34c759;
  border-radius: 2px;
}

22. Curved SVG Divider

Decorative
<div class="uiv-divider-curved">
  <svg viewBox="0 0 1200 120" preserveAspectRatio="none">
    <path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V0Z"></path>
  </svg>
</div>
.uiv-divider-curved {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.uiv-divider-curved svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}
.uiv-divider-curved .shape-fill {
  fill: rgba(255, 255, 255, 0.05);
}

23. Arrow Drop Divider

Interactive
<div class="uiv-divider-arrow">
  <div class="arrow-chevron-down"><i class="fas fa-chevron-down"></i></div>
</div>
.uiv-divider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 2rem 0;
  width: 100%;
}
.uiv-divider-arrow::before {
  content: '';
  position: absolute;
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}
.arrow-chevron-down {
  background: #1e1e1e;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  z-index: 2;
  font-size: 10px;
  color: #afafb6;
}

24. Progress Metric Divider

Interactive
<div class="uiv-divider-progress">
  <div class="progress-bar-fill-node" style="width: 65%;"></div>
</div>
.uiv-divider-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  margin: 2rem 0;
}
.progress-bar-fill-node {
  height: 100%;
  background: linear-gradient(90deg, #ff5e3a, #ff2a68);
  border-radius: 4px;
}

25. Decorative Art Divider

Decorative
<div class="uiv-divider-decorative">
  <span class="dec-node ring"></span>
  <span class="dec-node line-long"></span>
  <span class="dec-node solid-circle"></span>
  <span class="dec-node line-short"></span>
</div>
.uiv-divider-decorative {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 2rem 0;
}
.dec-node { background: rgba(255,255,255,0.2); }
.dec-node.ring {
  width: 12px; height: 12px;
  border: 2px solid #afafb6;
  background: transparent;
  border-radius: 50%;
}
.dec-node.line-long { width: 80px; height: 1px; }
.dec-node.solid-circle { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.dec-node.line-short { width: 30px; height: 1px; }
divider-components.html Displaying divider-components.html.