i OS slider
An example of recreating the iOS slider using Motion for Vue. This example uses useTransform to map input to slider state, and slider state to pull, squish and squash animations. It uses Vue's onFocus and onBlur to set up keyboard-accessible inputs, with Motion's whileFocus prop to animate a custom focus indicator.
Matt Perry7 Mar 2025- Vue
Related examples
Carousel: iOS exposure slider
Color picker
Carousel: iOS exposure slider