You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

hover-animation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hover-animation

This is hover-animation React Component made by @meabhisingh

1.0.8
latest
npmnpm
Version published
Maintainers
1
Created
Source

hover-animation

Animated Icons component built with React.

DEMO 1

enter image description here

click here to try demo

Demo 2

enter image description here

click here to try demo

Installation

npm install hover-animation

In order to use hover-animation, you have to install react-icons

for react-icons npm install react-icons

Docs

Step 1 In App.js, import {YourIcon} from "react-icons"

Step 2

import HoverAnimation1 from "hover-animation/HoverAnimation1"
import HoverAnimation2 from "hover-animation/HoverAnimation2"

Step 3

add HoverAnimation1 Component in your file while passing appropriate props and Icons

<HoverAnimation1 Icon={YourIcon} />

Parameters for HoverAnimation1

ParameterDefaultDescription
IconNA"This is to set Icon"
IconSize"2vmax""This is to set the size of Icon "
Color"white""This is to set the color of Icon
BackgroundColor"rgb(25,25,25) Almost Black""This is to set the Background Color
Direction"left""This is to set the Direction of animation, this could be left, right, down, up
Circle"true""Icon Shape could be circle or square"
Padding"1vmax""To set the Logo in Navbar"
Transition0.5"To set Animation Transition"

Parameters for HoverAnimation2

ParameterDefaultDescription
IconNA"This is to set Icon"
IconSize"2vmax""This is to set the size of Icon "
Color"white""This is to set the color of Icon
BackgroundColor"rgb(25,25,25) Almost Black""This is to set the Background Color
Pace"medium""This is to the speed of animation, Pace can be slowest, slow, medium, fast, fastest"
Circle"true""Icon Shape could be circle or square"
Padding"1vmax""To set the Logo in Navbar"
Transition0.5"To set Animation Transition"

Please Must Install react-icons before using this Module

Created By @meabhisingh

My name is Abhishek Singh, a.k.a 6 pack programmer on YouTube. Hire me for a project , Hire

Youtube - Click Here

Instagram - Click Here

LinkedIn - Click

Keywords

hover-animation

FAQs

Package last updated on 22 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts