Overview

alert-notify is a multi-framework toast library. Call toast.success() from anywhere. The portal auto-mounts. Optional helpers sync config for React, Vue, and Svelte. Measured JS gzip: Vanilla ~5.9KB · React ~6.7KB · Angular ~5.9KB · Vue ~6.5KB · Svelte ~6.8KB, plus shared ~2.7KB CSS.

Bundle size by path

Each number is core plus that path's adapter (minified + gzip). CSS is separate. Angular is a recipe on the vanilla core, so it matches Vanilla.

PathWhat you importJS gzip
VanillaCore only (alert-notify)~5.9KB
ReactCore + alert-notify/react~6.7KB
AngularCore only (recipe, same as vanilla)~5.9KB
VueCore + alert-notify/vue~6.5KB
SvelteCore + alert-notify/svelte~6.8KB
style.cssShared styles (all paths)~2.7KB

Support tiers

TierWhat it meansStacks
NativeCore package or CDN IIFE. Full API.Vanilla JS, CDN
HelperFirst-class export that syncs config and may add framework custom helpers.React, Vue, Svelte
RecipeDocumented use of the core API. No dedicated package export.Angular, Astro

Start here

Pick a stack