
Research
/Security News
CanisterWorm: npm Publisher Compromise Deploys Backdoor Across 29+ Packages
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.
@tarmiz/web-glass-toast
Advanced tools
Modern glassmorphism toast notifications for React, lightweight UI toast, and notification messages.
Modern glassmorphism toast notifications for React.
npm install @tarmiz/web-glass-toast
or
yarn add @tarmiz/web-glass-toast
Mount ToastContainer near your app root.
import { ToastContainer } from "@tarmiz/web-glass-toast";
import "@tarmiz/web-glass-toast/style.css";
export function AppRoot() {
return (
<>
{/* your app */}
<ToastContainer />
</>
);
}
Use the toast API from buttons, forms, server actions, or async workflows.
import { toast } from "@tarmiz/web-glass-toast";
export function SaveButton() {
return <button onClick={() => toast.success("Project saved")}>Save</button>;
}
toast("Default message");
toast.success("Saved successfully");
toast.error("Something went wrong");
toast.info("New updates available");
toast.warning("Please review before continuing");
toast.loading("Uploading...");
toast("File moved", {
position: "bottom-right",
duration: 5000,
gradient: true,
withIcon: true,
withProgressLine: true,
backgroundColor: "#101426",
textColor: "#eef2ff",
accentColor: "#67f38a",
action: {
label: "Undo",
onClick: () => {
// custom action
},
},
});
toast.promiseawait toast.promise(
fetch("/api/project").then(r => r.json()),
{
loading: "Saving project...",
success: "Project saved",
error: "Save failed",
},
);
You can also pass resolver functions for success/error messages.
await toast.promise(apiCall(), {
loading: "Processing...",
success: result => `Done: ${result.count} items`,
error: error => `Error: ${String(error)}`,
});
toast(message, options?)Core function used by all variants.
toast.success(message, options?)toast.error(message, options?)toast.info(message, options?)toast.warning(message, options?)toast.loading(message, options?)toast.custom(message, options?)toast.update(id, updates)toast.dismiss(id?)toast.pause(id)toast.resume(id)toast.promise(promise, messages, options?)type ToastOptions = {
id?: string;
type?: "success" | "error" | "info" | "warning" | "loading" | "custom";
position?:
| "top-right"
| "top-left"
| "top-center"
| "bottom-right"
| "bottom-left"
| "bottom-center";
duration?: number; // 0 = persistent
gradient?: boolean;
dismissible?: boolean;
withIcon?: boolean;
withProgressLine?: boolean;
backgroundColor?: string;
textColor?: string;
accentColor?: string;
icon?: React.ReactNode;
action?: {
label: string;
onClick: () => void;
};
};
import { ToastContainer, toast } from "@tarmiz/web-glass-toast";
import "@tarmiz/web-glass-toast/style.css";
export function App() {
const notify = () => {
toast.success("Welcome back", {
position: "top-right",
action: {
label: "Open",
onClick: () => console.log("Open clicked"),
},
});
};
return (
<>
<button onClick={notify}>Show Toast</button>
<ToastContainer />
</>
);
}
npm install
npm run build
npm run lint
MIT - see LICENSE
FAQs
Modern glassmorphism toast notifications for React, lightweight UI toast, and notification messages.
The npm package @tarmiz/web-glass-toast receives a total of 156 weekly downloads. As such, @tarmiz/web-glass-toast popularity was classified as not popular.
We found that @tarmiz/web-glass-toast 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
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.

Research
/Security News
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.

Security News
ENISA’s new package manager advisory outlines the dependency security practices companies will need to demonstrate as the EU’s Cyber Resilience Act begins enforcing software supply chain requirements.