Skip to content
Anish Roy edited this page Sep 22, 2021 · 1 revision

react-liquidswipe

A react component build on top of react-spring and react-use-gesture that improves UX by enabling liquid swipe.

Demo

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",
          }}
        />
}

Examples

Contributors

License

MIT

Clone this wiki locally