Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
progressive-blur
Advanced tools
Drop-in progressive (gradient) backdrop blur for React. Both radial and linear gradients are supported.
https://github.com/AndrewPrifer/progressive-blur/assets/2991360/9bcfaae7-5976-449b-994c-3785a0f961a1
✨Demo✨
yarn add progressive-blur
import { RadialBlur, LinearBlur } from "progressive-blur";
const App = () => (
<div>
<RadialBlur
// The resolution of the blur. Higher values will result in a more detailed blur, but will be more computationally expensive. Default is 8.
steps={8}
// The blur radius of the blur in pixels at the peak of the gradient. Default is 64.
strength={64}
// How much of the blur is falloff. 0 means no falloff, 100 means the entire blur is falloff. Default is 100.
falloffPercentage={100}
// The tint applied to the blur. This can be any valid CSS color. Default is transparent.
tint="rgba(0, 0, 0, 0.1)"
// You can pass any div props to the component. Useful for positioning.
style={{
position: "absolute",
inset: 0,
zIndex: -1,
}}
/>
<LinearBlur
// Same props as RadialBlur, but with an additional side prop that specifies the direction of the gradient and the transform origin so it's easy to scale in the right direction. Default is "top".
side="top"
/>
</div>
);
FAQs
Drop-in progressive blur for React.
The npm package progressive-blur receives a total of 148 weekly downloads. As such, progressive-blur popularity was classified as not popular.
We found that progressive-blur demonstrated a healthy version release cadence and project activity because the last version was released less than 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.