Replies: 1 comment 1 reply
-
import { motion } from 'framer-motion' const CANVAS_WIDTH = 400 const SnappingSlider = () => { const snappingPoint = snappingPointsArr.map(el => { }) }) const onDragEnd = () => { const onDrag = (event, info) => {
};
) export default SnappingSlider you can try something like this |
Beta Was this translation helpful? Give feedback.
-
Hello.
Has anyone been successful in implementing a discrete slider using Framer Motion, similar to the Discrete Slider provided by Material-UI? I am seeking to create a slider where the thumb jumps to discrete positions rather than moving smoothly.
Example: https://mui.com/material-ui/react-slider/#discrete-sliders
Beta Was this translation helpful? Give feedback.
All reactions