
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
reactjs-parallax-button
Advanced tools
Bring your react buttons to next level with parallax effect
Bring your react buttons to next level with parallax effect.
Demo: https://react-prallex-button-dev.surge.sh/
Install module:
npm i reactjs-parallax-button
Import it in your React project:
import { ParallaxButton} from 'reactjs-parallax-button'
This is the most basic components. It allows you to create simple buttons with parallax effect.
All you have to do to create button:
render() {
return (
<ParallaxButton text="Amazing button"/>
)
}
Additionally you can pass few props for custom use:
<ParallaxButton
text="Custom Button"
parallaxScale={0.5}
backgroundStyle={{
background: 'linear-gradient(right, #fc4a1a, #f7b733)',
borderRadius: '8px',
boxShadow: '0 4px 8px rgba(0, 0, 0, .3)'
}}
textStyle={{
padding: '1.5em 2.5em 1.5em 2.5em',
color: 'white'
}}
/>
text
(string): The text displayed on the button.parallaxScale
(number): Controls the intensity of the parallax effect. Default is 1
.backgroundStyle
(object): Custom styles for the button background.textStyle
(object): Custom styles for the button text.I hope you will like this simple component and use it in your website, also if you have any problems or questions please let me know, I will be more than happy to help you :)
My email: bhuvaneshraja113@gmail.com
FAQs
Bring your react buttons to next level with parallax effect
The npm package reactjs-parallax-button receives a total of 0 weekly downloads. As such, reactjs-parallax-button popularity was classified as not popular.
We found that reactjs-parallax-button demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.