react-liquidswipe
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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

Package Sidebar

Install

npm i react-liquidswipe

Weekly Downloads

0

Version

1.3.2

License

MIT

Unpacked Size

116 kB

Total Files

21

Last publish

Collaborators

  • anishroy