Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
react-animated-3d-card
Advanced tools
Animated 3d card that reacts to the user's mouse pointer
Animated 3d card that reacts to the user's mouse pointer
Each component that is a child to the Card component will be animated in 3d, the top one being flush with the card and each subsequent one higher than the one on top of it
npm install --save react-animated-3d-card
import React, { Component } from 'react'
import Card from 'react-animated-3d-card'
class Example extends Component {
render() {
return <Card
style={{
backgroundColor: 'red',
width: '450px',
height: '300px',
cursor: 'pointer'
}}
onClick={() => console.log('Card clicked')}
/>
}
}
Props | Type | Default value | Explanation |
---|---|---|---|
style | Object | {} | The style that will be applied to the card |
onClick | Function | - | The function that will run when the card is clicked |
borderRadius | String | '20px' | The radius of the card |
isStatic | Boolean | false | Whether the card is transformed in 3d or not |
shineStrength | Number | 0.4 | The strength of the shine from 0 to 1 |
cursorPointer | Boolean | true | Whether the cursor is a pointer or not |
MIT © jamipuchi
FAQs
Animated 3d card that reacts to the user's mouse pointer
The npm package react-animated-3d-card receives a total of 460 weekly downloads. As such, react-animated-3d-card popularity was classified as not popular.
We found that react-animated-3d-card demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.