react-liquidswipe
react-liquidswipe
A react component build on top of react-spring and react-use-gesture that improves UX by enabling liquid swipe.
Demo
Install
npm i react-liquidswipe
Usage
import { Liquidswipe } from "react-liquidswipe";
function App() {
let components = []; // array of JSX
return (
<Liquidswipe
components={components}
style={{
height: "80vh",
width: "80vw",
margin: "10vh auto",
borderRadius: "20px",
}}
/>
);
}