         imageView.contentMode = sliderImageContentMode
         imageView.image = sliderImage
         addVisualConstraints("V:|[view]|", horizontal: "H:|[view]|", view: imageView, toView: slider)
+    }
+
+    private func setup() {
+        // Apply the custom slider styling
+        layer.cornerRadius = cornerRadius
+        layer.masksToBounds = true
+
+        // Add views
+        addSlideInLabel()
+        addSlideOutView()
+        addSlider()
 
         // Add pan gesture to slide the slider view
         let pan = UIPanGestureRecognizer(target: self, action: #selector(panGesture))

        sliderPositionConstraint.constant = sliderPadding
        setNeedsUpdateConstraints()
        layoutIfNeeded()
    }

    func panGesture(recognizer: UIPanGestureRecognizer) {

        slideOutLabel.font = slideOutFont
        slideOutView.addSubview(slideOutLabel)
        addVisualConstraints("V:|[view]|", horizontal: "H:|[view]|", view: slideOutLabel, toView: slideOutView)
    }

    private func addSlider() {
        // Create Slider
        slider.translatesAutoresizingMaskIntoConstraints = false
        slider.backgroundColor = sliderColor
