Framer » Framer Motion BETA » Drag Controls BETA

Drag Controls BETA

New in @framer Motion 1.8: Imperative dragcontrols Allows you to manually trigger dragging on a @reactjs component from any other event target, with optional cursor snapping. Great for progress bar sliders! Check out this ~20 line demo: https://codesandbox.io/s/framer-motion-usedragcontrols-rql7b… import React from "react"; import "./styles.css"; import { motion, useDragControls } from "framer-motion"; export default function App() […]
To access this page, you must purchase Framer book - Monthly or Framer book - Yearly.