
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
nlnd-slider
Advanced tools
This is a React component that provides a nice looking scrolling view. On scrolling, it will smooth scroll to the next component as such:
just do
npm install nlnd-slider
or
yarn add nlnd-slider
This example is the one used in the demo above:
import React from "react";
import { Slider, Slide } from "nlnd-slider";
import { SlideA, SlideB, SlideC } from "./Components/SlideA";
const App = () => (
<div>
<Slider>
<Slide>
<SlideA />
</Slide>
<Slide>
<SlideB />
</Slide>
<Slide>
<SlideC />
</Slide>
</Slider>
</div>
);
Each of the child components (SlideA, SlideB and SlideC) are simply a component to be shown in the slide. Here's how SlideA looks for example:
const SlideComponent = styled.div`
background-color: ${(props: SlideProps) => props.background};
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
`;
const SlideA = () => {
return (
<SlideComponent background="#4784e6">
<Contents style={{ fontSize: "3vw" }}>Hello</Contents>
</SlideComponent>
);
};
Ali Rezaee (ipinlnd): nlndipi@hotmail.com
FAQs
A slider for more smooth scrolling
We found that nlnd-slider 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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.