Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Planowanie

notification-hierarchy

/notification-hierarchy

Projektuje powiadomienia w interfejsie: toasty, banery, okna modalne, komunikaty inline i snackbary, w czterostopniowej hierarchii z wzorcami sukcesu i błędu oraz unikaniem zmęczenia alertami.

Repozytorium
fractional-cto ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Projektuje powiadomienia w interfejsie: toasty, banery, okna modalne, komunikaty inline i snackbary, w czterostopniowej hierarchii z wzorcami sukcesu i błędu oraz unikaniem zmęczenia alertami.

Oryginalny opis (EN)

This skill should be used when the user is building or reviewing toast notifications, banners, modal dialogs, inline messages, snackbars, or alert systems. Covers the four-tier notification hierarchy, feedback patterns, success and error messaging, and alert fatigue prevention.

Jak działa

  1. The Hierarchy
  2. Decision Guide
  3. Color Coding
  4. Alert Fatigue
  5. Examples
  6. Review Checklist
Sekcje z nagłówków SKILL.md, w oryginale · 98 linii, 548 słów
Podgląd SKILL.md
---
name: notification-hierarchy
description: This skill should be used when the user is building or reviewing toast notifications, banners, modal dialogs, inline messages, snackbars, or alert systems. Covers the four-tier notification hierarchy, feedback patterns, success and error messaging, and alert fatigue prevention.
version: 1.0.0
---

# Match Message Urgency to Interruption Level

The notification hierarchy is one of the most commonly misapplied patterns in SaaS. IBM Carbon's framework provides the clearest decision guide. Each notification type has a specific purpose — misusing them causes alert fatigue and lowers productivity.

## The Hierarchy

From lowest to highest disruption:

### 1. Inline Messages (Lowest Disruption)

Contextual feedback within a specific UI section. Persists until resolved.

**Use for:** Validation errors, field-level guidance, status indicators.

### 2. Toasts

Brief, non-blocking confirmations of completed actions.

**Use for:** "Item saved," "Email sent," "Record updated."

**Rules:**
- Auto-dismiss after **3 seconds** if they contain no actions
- Persist if they include an undo button or other action
- Never stack more than **4 toasts** simultaneously

### 3. Banners

System-level or product-level notifications not tied to a specific task.

**Use for:** Maintenance windows, plan limits, degraded service, required actions.

**Rules:**
- Persist until dismissed
- Sit at the top of the screen
- Not tied to a specific user action

### 4. Modals (Highest Disruption)

Block all other interaction. The nuclear option.

**Use exclusively for:**
- Confirming destructive actions (delete, cancel subscription)
- Acknowledging session expiry
- Completing multi-step flows requiring focused attention

**Never use modals for:** Informational messages, success confirmations, or anything that could be a toast or banner.

## Decision Guide

| Scenario | Notification Type |
|----------|------------------|
| Field has a validation error | Inline message |
| User saved a record successfully | Toast (auto-dismiss 3s) |
| User deleted something (with undo) | Toast (persist until dismissed) |
| System maintenance in 30 minutes | Banner |
| User's plan is approaching its limit | Banner |
| User is about to delete their account | Modal |
| Session is about to expire | Modal (with countdown) |

## Color Coding

Standardized across every major design system:

| Color | Meaning | Icon Required |
|-------|---------|---------------|
| **Blue** | Informational | Yes |
| **Green** | Success | Yes |
| **Yellow** | Warning | Yes |
| **Red** | Error/Danger | Yes |

**Never rely on color alone for meaning.** Each status must also have a unique icon — this is both an accessibility requirement and a usability one.

## Alert Fatigue

IBM Carbon explicitly warns: "Frequent distractions lower productivity and can lead to alert fatigue."

**The principle:** If uncertain whether a notification is necessary, it probably isn't. Confine each notification to the portion of the interface it's relevant to.

## Examples

Working implementations in `examples/`:
- **`examples/toast-system.md`** — Toast manager with 4-toast limit, auto-dismiss, undo actions, and color/icon system in React

## Review Checklist

When reviewing or building notification systems:

- [ ] Validation errors use inline messages, never toasts
- [ ] Success confirmations use toasts with 3-second auto-dismiss
- [ ] Toasts with actions (undo, retry) persist until dismissed
- [ ] No more than 4 toasts stacked simultaneously
- [ ] System-level messages use banners at the top of the screen
- [ ] Modals reserved exclusively for destructive or critical actions
- [ ] Each notification has both a color AND a unique icon
- [ ] No unnecessary notifications — when in doubt, leave it out
- [ ] Notification type matches the interruption level of the message
Pliki w paczce (2)
  • SKILL.md 4 KB
  • examples/toast-system.md 5 KB

Wersje

W bazie nie ma innych skilli o nazwie notification-hierarchy.

Migawka bazy z 13.11.2026 · wersja paczki 1c9a6f863dff (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100notifications-and-recovery
    Projektuje toasty, błędy w treści, banery i ścieżki powrotu po błędzie przy stanach błędu, potwierdzeniach sukcesu, asynchronicznym feedbacku i edycji w miejscu.
  • 100apple-hig-feedback-status
    Projektuje informacje zwrotne, statusy, postęp, alerty, błędy i stany sukcesu w aplikacjach Apple: komunikaty inline, banery, powiadomienia i stany ładowania.
  • 85ux-notifications-and-toasts
    Projektuje lub recenzuje powiadomienia: dobiera typ (badge, banner, snackbar, toast, alert, push) do pilności komunikatu i szanuje uwagę użytkownika przez timing, częstotliwość i opt-out.
  • 100fe-a11y-carousel-toast
    Buduje karuzele, suwaki treści i powiadomienia, które można zatrzymać, obsłużyć z klawiatury i usłyszeć, zgodnie ze wzorcami WAI-ARIA.
  • 100interaction-patterns
    Podaje wzorce interakcji UI: skeleton loading, infinite scroll z dostępnością, progresywne ujawnianie, modal, drawer i wybór inline, drag-and-drop z alternatywą klawiaturową, powiadomienia toast.
  • 90feedback-and-status
    Projektuje komunikaty zwrotne i statusy działające wzrokiem, słuchem i dotykiem: ładowanie, postęp, potwierdzenia i alerty.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.