• Stars
    star
    402
  • Rank 107,380 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 4 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚀 Smooth Liquid Swipe Animation to transition between different components.

🚀 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 👏🏻

More Repositories

1

masterPortfolio

🔥 The Complete Customizable Software Developer Portfolio Template which lets you showcase your work and provides each and every detail about you as Software Developer.
JavaScript
3,480
star
2

react-awesome-shapes

🌀 Insert Awesome Shapes into Your React Site with Ease.
TypeScript
628
star
3

react-awesome-loaders

🚀 High quality, super responsive and completely customisable Loading Animations to insert into your website with single line of code.
JavaScript
250
star
4

explainable-cnn

📦 PyTorch based visualization package for generating layer-wise explanations for CNNs.
Python
217
star
5

truvisory

This project is meant to provide resources to users who want to access good LinkedIn posts which contains resources to learn any Technology, Design, Self-Branding, Motivation etc. You can visit project by:
JavaScript
214
star
6

neuro-symbolic-sudoku-solver

⚙️ Solving sudoku using Deep Reinforcement learning in combination with powerful symbolic representations.
Python
67
star
7

Stock-Prediction-using-LSTM

This Project is predicting stocks for 32 companies with error less than 1% using LSTM Networks.
Jupyter Notebook
59
star
8

react-lazy-load

Lazy loading in react
JavaScript
49
star
9

genai-posts

Repository contains LinkedIn posts about Generative AI knowledge sharing, learning resources and research explanations.
30
star
10

ashutosh1919

Python
28
star
11

react-parallax-demo

Demonstration of Parallax animation in React using react-spring
JavaScript
22
star
12

kubernetes-deploy-tutorial

This code is made for my youtube channel and corresponding to video given below
Python
21
star
13

Full_Stack_Web_Development_Course

This repo contains all assignments for Full stack web development course on coursera
JavaScript
18
star
14

birthday-wisher-whatsapp

Automation Flask Schedular to send birthday wishes to your friends on What'sApp
Python
18
star
15

flask_mongodb_dockerized_app

This code is for illustration to build dockerized Flask + MongoDB app as described in my youtube video below.
Python
17
star
16

food-lovers

PHP
14
star
17

docker-ml-tutorial

This project illustrate step by step procedure to start working on docker for Machine Learning projects.
Jupyter Notebook
13
star
18

github-graphql-api-tutorial

The code in this repository is completely illustrated and explained in my youtube video given below
JavaScript
12
star
19

data2vec-pytorch

Ready to run PyTorch implementation of Data2Vec 2.0: Highly efficient self-supervised representation learning for vision, speech and text.
Python
10
star
20

glassmorphism_demo

Demo for creating animated card with glassmorphism effect
JavaScript
9
star
21

mdp-diffusion

Text-guided image editing by manipulating diffusion path without any training.
Python
9
star
22

deeplearning-flask-react-app

This code is for illustrating deployment of end-to-end Deep Learning app in YouTube video given below.
JavaScript
9
star
23

quantum-perceptron

Implementation of Quantum Perceptron: An Artificial Neuron Implemented on an Actual Quantum Processor
Jupyter Notebook
9
star
24

leetcode-problems

Repository contains solved problems on leetcode based on difficulty level
Python
8
star
25

dvc_demo

Code in this repository illustrates DVC Demo and is prepared for the Youtube Video given below.
Python
8
star
26

FaceInterpolation

Exploring latent spaces of Face generation
Python
8
star
27

ashutosh1919.github.io

This is just a build generated of the code of masterPortfolio project
JavaScript
7
star
28

Survival_3D_Game

Survival Game using Unity3D
ShaderLab
6
star
29

consistency-models

Ready to run PyTorch implementation of Consistency Models: One-Step Image Generation & Editing
Shell
6
star
30

Face-Detection

Face Detection Using OpenCV
Jupyter Notebook
4
star
31

FaceGenerationStyleGAN

The objective of this project is to generate end to end Face Generation System using StyleGAN.
Python
4
star
32

Anomaly-Detection-in-Click-Stream-Data

Anomaly Detection in Click stream data of website.
Jupyter Notebook
4
star
33

ml-data-bot

Chatbot which helps you to get important statistics from the data to get insights to build Machine learning, Deep learning and Statistical models
Python
4
star
34

neurostack

The react-app which contains articles and blogs which makes Neurologists life easier professionally.
JavaScript
4
star
35

Facial-Emotion-Recognition

Facial Emotion Recognition
Jupyter Notebook
3
star
36

ChatUpProject

Java
3
star
37

llm-multichoiceqa

Large Language Model for Multiple Choice QA prediction
Python
3
star
38

WeatherBot

This is the bot which will give weather details of any place in the world.
Python
3
star
39

report-curator

Under Construction
TypeScript
3
star
40

context-cluster-pytorch

Ready to run PyTorch implementation of Context-Cluster: Image as Set of Points
Python
3
star
41

grocery-todo

Grocery-TODO list full stack project implemented using ReactJS (Frontend), Flask (Backend) and PostgreSQL (ElephantSQL) database.)
JavaScript
3
star
42

animated_logo_tutorial

Code given in this repository is created during the explanation in my YouTube video given below.
HTML
3
star
43

social-frontend-cloudflare

JavaScript
2
star
44

tissues-image-classification

Classifying tissue images to associated body part.
Jupyter Notebook
2
star
45

poc_workos_fashion_mnist

Python
2
star
46

git-and-opensource

This repository contains the presentation and complete flow of the workshop about git and opensource
1
star
47

poc_workos_regression

1
star
48

react-spring-pager

🔥 Ready to use one of the best available Animated ViewPager built using React Spring.
JavaScript
1
star
49

sentiment-react

Sample deploy of react app
JavaScript
1
star
50

Image_Compression_ML_Python

Image Compression Implementation
Python
1
star
51

test-repo

description of code
1
star
52

prettier-demo

This is demo to implement prettier in react-app
JavaScript
1
star