react-liquidswipe

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

Usage no npm install needed!

<script type="module">
  import reactLiquidswipe from 'https://cdn.skypack.dev/react-liquidswipe';
</script>

README

react-liquidswipe

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

Demo

Demo

Live

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

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

License

MIT License