# scttcper/ngx-toastr

🍞 Angular Toastr

Repository: https://github.com/scttcper/ngx-toastr
Canonical: https://ross.abutalabs.com/products/ngx-toastr
Homepage: https://ngx-toastr.vercel.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: toastr, angular, typescript, ngmodule, aot-compilation, angular2
Archived: true
Last push: 2026-02-06T17:00:36+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 66, release rhythm 69, longevity 100
- inputs: {"age_days": 3688, "days_push": 208, "days_rel": 208, "gap_med": 2, "n_releases_24m": 6}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2583, forks 368 (observed 2026-08-28T04:07:02.481013+00:00)

## What it is
ngx-toastr is a toast notification library for Angular applications, providing injectable toast components with customizable styles including Bootstrap 4/5 alert themes. It supports AoT compilation, lazy loading, standalone providers, and component inheritance for custom toasts.

## Use cases
- show success or error toast notifications in an Angular app
- add toast alerts to Angular without @angular/animations dependency
- customize toast components via component inheritance
- use Bootstrap-styled toast alerts in Angular
- display notifications to a specific target directive
- add toasts to a standalone Angular application with provideToastr

## When to choose
- you need lightweight, performant toast notifications in an Angular project
- you want AoT and lazy-loading compatible notifications
- you prefer Bootstrap-styled toasts or custom toast components

## When to avoid
- your project is not built with Angular
- you need toast notifications for React, Vue, or vanilla JS

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: toastr, toast-notifications, angular, typescript, notifications, aot-compatible, nodejs

## Member repositories
- scttcper/ngx-toastr (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.481013+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:35.634372+00:00, confidence not recorded.
  - readme: https://github.com/scttcper/ngx-toastr (fetched 2026-08-28T04:07:02.481013+00:00, sha e8bcaed45ddf)
  - homepage: https://ngx-toastr.vercel.app (fetched 2026-08-29T10:05:20.413529+00:00, sha 31e9847d9274)
  - registry_npm: https://registry.npmjs.org/ngx-toastr (fetched 2026-08-29T10:05:20.422340+00:00, sha b62bfbd80153)
- Data as of 2026-08-30T08:39:29.467469+00:00.
