struct ContentView: View {
   @State private var currentValue: Float = 5

   var body: some View {
      VStack {
         Text("Current Value: \(currentValue.formatted(.number.precision(.fractionLength(0))))")
         Slider(value: $currentValue, in: 0...10, step: 1.0, label: {}, minimumValueLabel: {
            Image(systemName: "backward.end.circle")
         }, maximumValueLabel: {
            Image(systemName: "forward.end.circle")
         })
         Spacer()
      }.padding()
   }
}