All Projects → ashutosh1919 → React Liquidswipe

ashutosh1919 / React Liquidswipe

Licence: mit
🚀 Smooth Liquid Swipe Animation to transition between different components.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Liquidswipe

Html Templates
100 (one hundred) simple and elegant HTML templates 💯
Stars: ✭ 240 (-2.04%)
Mutual labels:  html5, css3
Spellbook Of Modern Webdev
A Big Picture, Thesaurus, and Taxonomy of Modern JavaScript Web Development
Stars: ✭ 13,450 (+5389.8%)
Mutual labels:  html5, css3
Html
Set of simplified and stylized HTML elements
Stars: ✭ 165 (-32.65%)
Mutual labels:  html5, css3
Nanui
NanUI is an open source .NET project for .NET / .NET Core developers who want to use front-end technologies such as HTML5 / CSS3 to build user interfaces for Windows Form applications.
Stars: ✭ 2,090 (+753.06%)
Mutual labels:  html5, css3
Hardcandy Jekyll
一款清新 糖果色🍬 的 ‘Jekyll’ 主题。A candy-colored 🍬 ‘Jekyll’ theme.
Stars: ✭ 202 (-17.55%)
Mutual labels:  html5, css3
Fat
Web's fastest and most lightweight animation tool.
Stars: ✭ 157 (-35.92%)
Mutual labels:  animation-library, html5
Zero To Mastery Website
A website to track the status of the OpenSource Projects that our groups will be working on, with links to the github profiles of the contributors.
Stars: ✭ 175 (-28.57%)
Mutual labels:  html5, css3
Alien.js
Future web pattern
Stars: ✭ 141 (-42.45%)
Mutual labels:  html5, css3
Javascript
刘宾的博客->前端相关。
Stars: ✭ 195 (-20.41%)
Mutual labels:  html5, css3
The Front End Knowledge You May Not Know
😇 你可能不知道的前端知识点
Stars: ✭ 2,238 (+813.47%)
Mutual labels:  html5, css3
Minwiz
Minimal starter kit for under 2 KB sites
Stars: ✭ 228 (-6.94%)
Mutual labels:  html5, css3
Seja Um Bom Junior
Stars: ✭ 228 (-6.94%)
Mutual labels:  html5, css3
Lazy
Kule Lazy4 / CSS Framework
Stars: ✭ 147 (-40%)
Mutual labels:  html5, css3
Github Ranking
🔍GitHub不同语言热门项目排行,Vue.js做页面展示
Stars: ✭ 160 (-34.69%)
Mutual labels:  html5, css3
Roadmap Web Developer 2017
Front-end (HTML5/CSS3/Javascript related) technologies to learn in 2017
Stars: ✭ 142 (-42.04%)
Mutual labels:  html5, css3
Freebies
Source code for Uisual templates. Free HTML/CSS landing page templates for startups. New template every week.
Stars: ✭ 170 (-30.61%)
Mutual labels:  html5, css3
Echat
基于Vue的点对点聊天项目
Stars: ✭ 130 (-46.94%)
Mutual labels:  html5, css3
Eleme
restructure..
Stars: ✭ 1,635 (+567.35%)
Mutual labels:  html5, css3
Youtube Dl Gui
A cross-platform GUI for youtube-dl made in Electron and node.js
Stars: ✭ 183 (-25.31%)
Mutual labels:  html5, css3
Blockchain
A simple implementation of blockchain in java
Stars: ✭ 201 (-17.96%)
Mutual labels:  html5, css3

🚀 React LiquidSwipe

Very smooth component transition animation with liquid swipe effect.

NodeJS NPM Made With Gatsby code style: prettier
Netlify Status Build Status License Maintenance Website License Price

Loved the project? Please consider donating to help it improve!

If you want to discuss about something, then you can ask on my Discord Server.

⭐️ Star us on GitHub — it helps!
To view a live example, click here

React LiquidSwipe is created using physics based animation libraries react-spring and react-use-gesture.

Use in your website ✏️

Liquid swipe effect is created considering reusability in mind. As of now, there is no npm or yarn package that you can install because there are several major issues with this package and they are mentioned in the later section of this file. Once, those errors are addressed, we can wrap the component as npm or yarn package.

If you want to use this animation in your website, you can clone the repository and you can copy the file src/components/liquidswipe.js in your project.

To use the component, your code should look like below.

import { LiquidSwipe } from '<relative-path-of-liquidswipe.js>';
...
export const YourComponent = () => {
    var componentsToRender = [] // Add components you want to render.
    var backgroundColors = [] // Add background colors for each component.
    ...
    return (
        ...
        <LiquidSwipe
            components={componentsToRender}
            colors={backgroundColors}
        />
        ...
    );
}

As of now, the mass and tension of the animation drag is constant and is defined in liquidswipe.js file but it may be a changeable parameter in the future version.

If you think that this documentation is not enough for you to understand, I have given other resources links in the Important Links section.

Technologies Used 🛠️

3D Clay Device Illustrations 🍥

Important Links 📑

Caution ☠️

This project is still under development and has many issues with it. We have only achieved animation. We need to handle the side effects which it has generated. So, I would humbly suggest you not to use this animation in below cases.

  • The animation uses dynamic rendering. So, globally rendered background colors by any theming library (styled-components, emotion, theme-ui) will not work. You can use theming libraries for all purposes other than changing colors.
  • Currently it is not working in mobile and tablet screens since click is not available and tap animation code has to be added.

If you think you can solve any of the above problems then we will highly appreciate you to raise the pull request.

License 📄

This project is licensed under the MIT License - see the LICENSE.md file for details. You can use this project for personal as well as commercial purposes. But if you think you have modified the project and built something really good, we will humbly request you to raise the pull request and share with the opensource community.

Contributing 💡

If you can help us with these. Please don't hesitate to open an pull request or issue. If you want to know about how to create pull request, then please refer to this blog.

I have mentioned issues with the current implementation in the Caution section. We are highly appreciating you to raise the pull request to resolve some/all the issues.

Donate 💉

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can use this project for personal and commercial purpose for free.

However, if you are using this project and happy with it or just want to encourage me to continue creating stuff, there are few ways you can do it :-

  • Giving proper credit when you use this on your project, linking back to it :D
  • Starring and sharing the project 🚀
  • You can make one-time donations by clicking the buttons below. I'll probably buy an amazing workstation which will help me build more aggressively.

paypal Buy Me A Coffee

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Ashutosh Hathidara

💻 📖 🎨 🤔 🚧

Andre Rodrigues Lima

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

References 👏🏻

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].