     let values: [Int]
     let defaultSelectedIndex: Int
     
+    let selectedFont: UIFont
+    let nonSelectedFont: UIFont
+    
     let sliderHeight: Int
     let sliderWidth: Int
     let itemWidth: Int
     
-    public init(values: [Int], defaultSelectedIndex: Int, itemWidth: Int, sliderHeight: Int, sliderWidth: Int) {
+    public init(values: [Int], defaultSelectedIndex: Int = 0, selectedFont: UIFont = UIFont.boldSystemFont(ofSize: 16), nonSelectedFont: UIFont = UIFont.systemFont(ofSize: 14), itemWidth: Int = 100, sliderHeight: Int, sliderWidth: Int) {
         self.values = values
         self.defaultSelectedIndex = defaultSelectedIndex
+        
+        self.selectedFont = selectedFont
+        self.nonSelectedFont = nonSelectedFont
+        
         self.sliderHeight = sliderHeight
         self.sliderWidth = sliderWidth
         self.itemWidth = itemWidth

        super.layoutSubviews()
        
        if !didLayoutOnce {
            set(selectedIndex: self.selectedIndex, animated: false)
            didLayoutOnce = true
        }
    }

            delegate?.slider(self, didSelectIndex: selectedIndex)
        }
    }
    
    private lazy var scrollView: UIScrollView = {
        let scrollView = UIScrollView()
