     
     @IBInspectable open var overlap: CGFloat = 10 {
         didSet {
-            updateAllConstraints()
+            stackView.spacing = -overlap
+        }
+    }
+    
+    @IBInspectable open var spacing: CGFloat = 2.0 {
+        didSet {
+            updateMargins()
         }
     }
     

        super.init(coder: aDecoder)
        setUpViews()
    }

    
    // MARK: - Lifecycle overrides
    
    override open func layoutSubviews() {
        super.layoutSubviews()
        
        borderViews.forEach { borderView in
            borderView.layer.cornerRadius = stackView.frame.size.height / 2
        }
    }
    
}


        }
    }
    
    @IBInspectable open var spacingColor: UIColor = UIColor.white {
        didSet {
            updateColors()
        }
    }
    
    @IBInspectable open var avatarBorderWidth: CGFloat = 0.0 {
        didSet {
            updateBorders()
