
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
react-collect-feedback
Advanced tools
A React plugin to collect feedback easily from webpages. The react-collect-feedback plugin has props through which feedback collection can be customized extensively.
React-Collect-Feedback is a highly customizable feedback widget component built with React. It allows easy collection of user feedback through ratings, emojis, or text inputs. The widget can be integrated into any React application, providing seamless feedback collection that can be adapted to fit your needs.
npm install react-collect-feedbackimport React from 'react';
import FeedbackWidget from 'react-collect-feedback';
function App() {
const handleFeedbackSubmit = (data) => {
console.log("Feedback submitted:", data);
};
const feedbackWidgetProps = {
template: "rating",
promptText: "How did we do?",
showThumb: false,
position: "bottom-right",
onSubmitFeedback: handleFeedbackSubmit,
feedbackTitle: "Tell us what you think",
closeAfter: 5000,
options: [
{ title: "What kind of feedback do you have?" },
{ icon: "👍", text: "I like something" },
{ icon: "👎", text: "I don't like something" },
{ icon: "💡", text: "I have an idea" }
],
captureUserInfo: { name: true, email: true, contact: true },
ratings: [
{ value: "Speed of website", mandatory: true },
{ value: "Content quality", mandatory: true },
{ value: "Ease of navigation", mandatory: false }
],
score: [
{ title: "How satisfied are you?", number: 5 },
{ title: "How likely are you to recommend us?", number: 10 }
]
};
return (
<div>
<FeedbackWidget {...feedbackWidgetProps} />
</div>
);
}
export default App;
template: Choose a template for feedback collection. Options includeproduct: For collecting product-related feedback.page: General page feedback.rating: Star ratings for specific feedback categories.score: Score-based feedback, e.g., 1 to 5 or 1 to 10.promptText: Text prompt for initiating the feedback collection (default is "How did we do?").showThumb: Show thumbs up/down for quick reactions. Default is false.position: Position of the feedback widget on the screen. Available positions:bottom-rightbottom-lefttop-righttop-leftonSubmitFeedback: Callback function that will receive the collected feedback data when the user submits it.feedbackTitle: Title text that appears at the top of the feedback popup (e.g., "Tell us what you think").closeAfter: Time in milliseconds after which the widget will close automatically after submission. Default is 5000.options: Array of objects defining feedback options (icons, text) for quick user feedback.captureUserInfo: Boolean values for capturing user information (name, email, contact).ratings: Array of objects for rating different aspects (value, mandatory status). Example:If you want to contribute to this project, feel free to submit pull requests or open issues for suggestions and bug reports.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A React plugin to collect feedback easily from webpages. The react-collect-feedback plugin has props through which feedback collection can be customized extensively.
We found that react-collect-feedback demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.