react-liquidswipe

Anish Roy, web development
Back

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