
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
custom-notification-bell
Advanced tools
A reusable React notification bell component for real-time notifications via WebSocket and REST API.
Designed to be framework-agnostic: no hardcoded navigation — you decide what happens when users click notifications.
onNotificationClick, onSeeAllClick)npm install custom-notification-bell
# or
yarn add custom-notification-bell
## Usage
import { NotificationBell } from "custom-notification-bell";
import { BiBell } from "react-icons/bi";
import { useNavigate } from "react-router-dom";
export default function App() {
const navigate = useNavigate();
return (
<NotificationBell
websocketUrl="https://your-websocket-endpoint"
apiUrl="https://your-api/notification"
bellIcon={<BiBell size={15} />}
userId="user-123"
theme="dark"
showConnectionStatus={true}
onNotificationClick={(notification) => {
// 🔹 Host app controls navigation
if (notification.type === "comment") {
navigate(`/reviews/${notification.relatedEntity?.id}`);
} else {
navigate("/notifications");
}
}}
onSeeAllClick={() => {
navigate("/notifications");
}}
/>
);
}
FAQs
A customizable notification bell component
The npm package custom-notification-bell receives a total of 24 weekly downloads. As such, custom-notification-bell popularity was classified as not popular.
We found that custom-notification-bell 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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.