UISlider with step buttons on visionOS

In the Settings app on visionOS, the slider used in the Display > Text Size screen has buttons arrayed along the track so that you can quickly jump the slider to different text sizes without having to slide the selector manually. Is this a completely custom component, or is there a way to make UISlider behave in a similar way in our own apps?