
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
draggable-list-items
Advanced tools
A reusable drag-and-drop list component built with React, Next.js, Tailwind CSS, and dnd Kit.
Drag-and-Drop List is a reusable React component for creating interactive and customizable draggable lists. Built with Tailwind CSS and the powerful dnd-kit
library, this component provides a smooth drag-and-drop experience for rearranging list items.
Install the library via npm:
npm install draggable-list-items
Here’s an example of how to use the Drag-and-Drop List in your project:
import DraggableList from 'draggable-list-items';
const items = [
{ id: 1, title: 'Item 1', description: 'Description 1', image: 'https://via.placeholder.com/150' },
{ id: 2, title: 'Item 2', description: 'Description 2', image: 'https://via.placeholder.com/150' },
{ id: 3, title: 'Item 3', description: 'Description 3', image: 'https://via.placeholder.com/150' },
];
function App() {
return <DraggableList items={items} />;
}
export default App;
import DraggableList from 'draggable-list-items';
type Item = {
id: number;
title: string;
description: string;
image: string;
};
const items: Item[] = [
{ id: 1, title: 'Item 1', description: 'Description 1', image: 'https://via.placeholder.com/150' },
{ id: 2, title: 'Item 2', description: 'Description 2', image: 'https://via.placeholder.com/150' },
{ id: 3, title: 'Item 3', description: 'Description 3', image: 'https://via.placeholder.com/150' },
];
function App() {
return <DraggableList items={items} />;
}
export default App;
The component is styled using Tailwind CSS. Ensure you have Tailwind set up in your project, or use the bundled styles provided with the library:
import 'draggable-list-items/dist/styles.css';
The Drag-and-Drop List uses the following technologies:
We welcome contributions to improve the Drag-and-Drop List component. If you’d like to contribute:
git checkout -b feature/new-feature
).Check out the Releases for details on new features, bug fixes, and updates.
If you encounter any issues or have questions, feel free to open an issue.
FAQs
A reusable drag-and-drop list component built with React, Next.js, Tailwind CSS, and dnd Kit.
The npm package draggable-list-items receives a total of 0 weekly downloads. As such, draggable-list-items popularity was classified as not popular.
We found that draggable-list-items 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.