I have recently collected several interesting javascript libraries, each of which is particularly creative. Maybe you don’t have to use them, but I dare say that when you add these libraries to your project, it will instantly make your project attractive.
1. react-mouse-particles
react-mouse-particles is a react mouse particle effect component.
A very fun react library that can be used to create mouse particle effects, which are as cool as meteors or fireballs. I often want to use react to do something fun. Using this component may make your page instantly glorious.
npm install --save react-mouse-particles
Enter fullscreen mode Exit fullscreen mode
import React, { Component } from 'react'
import MouseParticles from 'react-mouse-particles'
class Example extends Component {
render () {
return (
...
)
}
}
Enter fullscreen mode Exit fullscreen mode
2. particles-bg
particles-bg is a React particles animation background component.
If you’re worrying about your CV or profile not being noticeable, then it’s perfect for you. Adding some particle animation to the page will make your website sparkle instantly. Very amazing
npm install --save particles-bg
Enter fullscreen mode Exit fullscreen mode
import React, { Component } from 'react'
import ParticlesBg from 'particles-bg'
class Example extends Component {
render () {
return (
...
)
}
}
Enter fullscreen mode Exit fullscreen mode
3. particles-bg-vue
particles-bg-vue is A vue.js particles animation background component.
If you really like the effect above, but it happens that the framework you are using is vue.js. Then don’t worry, using this library can also meet your needs.
This is a great project that allows you to easily create an interactive website with parallax scrolling. I think you definitely want to have your own mobile homepage, then it is perfect for you.
npm install --save react-parallax
Enter fullscreen mode Exit fullscreen mode
import React from 'react';
import { Parallax, Background } from 'react-parallax';
const MyComponent = () => (
{/* -----basic config-----*/}
Put some text content here - even an empty div with fixed dimensions to have a height
for the parallax.
{/* -----dynamic blur-----*/}
Blur transition from min to max
Enter fullscreen mode Exit fullscreen mode
5. react-shimmer
React Image Loader component that simulates a shimmer effect.
A powerful, customisable, component that simulates a shimmer effect while loading. (with zero dependencies!) Currently compatible with React, but RN compatibility is also on the way.
Thank you so much for your patience after reading this article. If you like these things to collect, I will continue to collect better things to share with you. Wish you a good dream.