Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.