Skip to content

Notifications, and choosing a surface

Last updated 11 Nov 2026

This library ships five surfaces that carry a message and two that interrupt. This page says which one to reach for.

The rule everything below follows:

A message goes on the surface that matches its lifetime and its scope, never on the surface that matches how it feels.

"Feels important" is not a scope. An error about one field and an error about the whole account are both errors, they are both red, and they belong on different surfaces because the user does different things with them. Severity picks the status or the variant. It never picks the component.

The seven surfaces ​

SurfaceWhat it isLifetimeScopeBlocksRe-readable
NbMessage12px text with a 14px icon, positioned by a controlAs long as the value is wrongOne fieldNoYes, while the field is on screen
NbBanner variant="inline"A filled block above the content it concernsUntil dismissed, or until the page changesOne page, form or regionNoYes
NbBanner variant="callout"The same block, not dismissibleAs long as the fact is trueOne page or one regionNoYes
The shell notification regionA flush banner in NbShell's stripAs long as the fact is trueThe account or the whole appNoYes
useToast() + NbToasterA stack in one viewport cornerSeconds, by variantOne action, just takenNoNo
NbNotificationCenterThe bell, and the panel of what happenedUntil the host drops the rowThings that happened offscreenNoYes, on demand
useConfirm() / NbModalA dialog over an inert pageUntil answeredOne decisionYesOnly while open

Two of those seven are not really "notifications" and are on the list because they are easy to use as one: a dialog is a question, and the notification centre is a log. Both are covered below, because putting a message on either by mistake is one of the two most common failures (the other is putting it on a toast).

The three that render in place, at their real sizes, in one frame. Everything below is the live component, not a picture of one:

The size difference is the whole argument of this page. The first is 12px of text under a control, and the two below it are blocks that own the width of the page. A sentence about the release does not fit in the first one, and the state of one field does not deserve either of the others. The remaining four surfaces are demonstrated in their own sections below, because a toast, a bell, a shell strip and a dialog only exist once something has happened.


The decision procedure ​

Take the sentence you are about to show a user and answer these six questions in order. The first one that answers "yes" ends the procedure.

1. Must everything stop until the user answers it? ​

Only one thing qualifies: a decision that cannot be taken back, taken by someone who might not have meant to take it. That is useConfirm(), and the whole contract for it is Dialogs and destructive confirmation.

If the answer is "no, but it is very important", it still does not block. There is no severity that promotes a message to a dialog. Notice also that a dialog is not a way of telling the user something: a dialog asks, and a dialog you can only acknowledge is an alert() wearing our tokens.

2. Must the user do something about it, later? ​

If the message contains a task ("three rows were rejected, fix them and import again", "your payment method expires on Friday"), it cannot live on a surface that removes itself. That rules out the toast, permanently, and leaves you with a banner, the shell region, or a row in the notification centre.

3. Must the user be able to re-read it? ​

An error code, a request id, a list of what failed, a filename, anything the user might paste into a support ticket: a toast is gone and unrecoverable four seconds later, and there is no history to scroll back to. That is a banner, or a row in the notification centre, or both.

4. Did this user cause it, and are they still standing in front of it? ​

  • They caused it, and the thing it is about is on screen: report it in place. A field error at the field, a form failure at the top of the form, a page failure at the top of the page.
  • They caused it, and the thing it is about is not on screen (a request fired from a menu they closed, a background export, a bulk action they have navigated away from): a toast.
  • They did not cause it: it is either a standing fact about the account (the shell region) or something that happened while they were elsewhere (the notification centre). It is never a toast, unless it changes what they can do right now ("Connection restored").

5. What is its scope? ​

This is the question most often answered wrong. Find the smallest thing the message is true about, and the surface follows from it. See the table below.

6. Is it still true after the message disappears? ​

If yes, it is not an event, it is a condition, and a condition on a surface with a lifetime has been told to the user exactly once, at random. Conditions are variant="callout" banners, which cannot be dismissed because dismissing one would not make it untrue.

That single question resolves most mis-shelved warning toasts. "Your trial ends in three days" is true for as long as the page is. "Three of ten rows were skipped" is finished and imperfect, and is a toast (or a banner, if the user has to go and fix those three rows, because then question 2 already answered).


The decision table ​

Scope down the left, and what the user has to do across the top. Find your row and take the cell.

The message is aboutNothing to do, it is newsThe user must act on itWhere it goes
One field's valueNbMessage variant="helper"NbMessage variant="error", or the control's errorUnder the control, always. Forms, rule 11
One row or one card in a listThe row itself: a badge, a stateThe row, plus one summary line above the listStatus indicators
One form's submitNot a thing: a submit either workedNbBanner status="error" variant="inline"Top of the form body. Forms, rule 12
One page or region, right nowNbBanner variant="inline"NbBanner variant="inline" with an actionAbove the content it concerns
One page or region, for as long as it is openNbBanner variant="callout"NbBanner variant="callout" with an actionTop of the page body, not dismissible
The account or the applicationNbBanner flush variant="callout"The same, with an actionNbShell's notification region. The app frame
An action the user just took, offscreen resulttoast.success() / toast.info()toast.error() with a cta, or a banner if there is a page for itThe toaster. useToast
Something that happened while they were awayA row in the notification centreA row and the surface the task actually lives onNbNotificationCenter
An irreversible decision, not yet takenNot applicableuseConfirm()Dialogs
A task with its own fields and its own commitNot applicableNbModalModal
An operation still runningNbInlineLoading, NbSpinner, NbSkeletonSame, then report the outcomeBeside the thing that is running. Not a notification at all
An exception the user cannot act onNothing on screen but a generic failureA mapped, human failure on the surface aboveThe raw one goes to your logger. Writing style

Two rows deserve their own sentence, because both are shipping today:

  • NbMessage is not a page-level surface. It is font-size: 12px, an inline-flex with a 14px icon, no title, no action slot and no dismiss. Thirty page-level errors rendered through it read as orphaned validation errors attached to nothing. The documented answer is NbBanner variant="inline".
  • A banner is not a row-level surface. A 44px block inside a table row to say "Active" is the same mistake pointing the other way.

NbMessage: one field, and nothing larger ​

Use it for something the field itself has to say about its own value: an error, a warning about an accepted-but-risky value, a success ("Username is available"), or a helper hint.

Do not use it for anything larger than the control it sits under. Not the form, not the page, not a failed upload, not a network error. If the sentence does not fit under a 200px-wide input without looking wrong, it is not a field message.

It must contain one sentence naming the constraint, in the register of Writing style. It carries role="status", and aria-live="assertive" when variant="error", so it is announced where it is. When the control is an NbTextInput, prefer the control's own error prop over a loose NbMessage, so the description is wired to the input for you: see Building a form.

Both ways round: on the left is a failed media upload reported in a field helper, and on the right is the same failure on the surface this page rules for it:

NbMessage is correct at the only scope it has, which is one control's own value. The first of these two is the loose message, the second is the same sentence wired to the input through the control's error prop, which is what Building a form asks for:


NbBanner variant="inline": this page, right now ​

Use it for the outcome of something the user did that belongs to a surface still in front of them: a submit the server rejected, a save that failed, a bulk action that partly succeeded, a page that could not load part of itself.

Do not use it for:

  • Something the user cannot see the subject of. That is a toast.
  • A standing fact. That is variant="callout", and the difference is question 6.
  • One field. That is NbMessage.
  • A question. A banner has no answer, so a banner that asks one is a dead end.

It must contain a title that names what happened, a body that says why and what to do next, and, when there is a next step, an action in the action slot. status="error" gives it role="alert" and aria-live="assertive"; every other status is role="status" and polite, which is correct and deliberate (see Politeness).

It may be dismissible, because an outcome has been read once it has been read.

vue
<NbBanner status="error" variant="inline" title="Could not publish the release">
  The environment has unresolved links. Resolve them and publish again.
  <template #action>
    <NbButton size="sm" variant="ghost" @click="showLinks">Show links</NbButton>
  </template>
</NbBanner>

The controls under this one are the real props. Flip status and the ground, the ink and the icon change together, which is the whole of what severity is allowed to decide. Flip variant to callout and the close button disappears even with dismissible on, because a standing fact does not stop being true when you look away. Flip flush and you get the shape the shell strip expects:


NbBanner variant="callout": what stays true ​

Use it for a condition that loads with the page and remains true while the page is open: a draft awaiting approval, a trial expiring, an environment that is not production, a record someone else has locked.

Do not use it for an outcome. A callout that says "Saved" is a lie the moment the next edit happens, and a timer wrapped around it to make it go away is a toast built by hand.

It must contain the fact, and the route out of it if there is one. It is not dismissible: passing dismissible to a callout does nothing, deliberately, because dismissing it would not make it untrue.

Both of these pass dismissible. Only one of them should have been a callout at all, and the missing close button on the other is the component refusing to make an outcome permanent:

The callout the first one wanted to be is the fact underneath it, which is true for as long as the page is open and has a way out of it:


The shell notification region: the account, not the page ​

NbShell renders a notification region above the topbar. It is a block strip that collapses when empty, and it is for facts about the account or the whole application, not about the route the user happens to be on.

Use it for: a subscription that lapsed, a region degraded, read-only mode, an impersonation session, a required action that follows the user everywhere.

Do not use it for anything that stops being true when the route changes. A "Saved" banner in this region outlives the save and follows the user to a screen where it is meaningless.

It must contain a flush banner, which drops the radius and the side borders so it spans the strip edge to edge:

vue
<NbShell>
  <template #notification>
    <NbBanner status="warning" variant="callout" flush title="Read-only mode">
      Your session has viewer access. Ask an admin to grant editing.
    </NbBanner>
  </template>
</NbShell>

A view that has to raise one of these from inside the page contributes to the region with useShellSlot('notification') rather than reaching for a DOM id. Placement inside the frame, and the rest of the region rules, are in The app frame.

The region is part of NbShell, so demonstrating it means running a shell. Both frames below are the real NbShell with its real #notification slot, shrunk into a fixed-height box the way Shell demonstrates itself. Nothing about the region is faked, only the viewport it sits in:


useToast(): news that expires ​

Mount one <NbToaster /> beside NbShell at the application root, and call useToast() from anywhere. Never render NbToast yourself and never build a host: see Never hand-roll any of this.

Use it when all four are true:

  1. The user (or the system on their behalf) just did something.
  2. The result is not visible on the screen they are looking at.
  3. They do not have to act on it, or the only action is one optional undo.
  4. Nothing in it needs to be re-read later.

Do not use it when any of these hold:

  • The user must act on it. The toast removes itself while they are reading.
  • It has to be re-readable. No history, no scrollback, no recovery.
  • The subject is on screen. A row that disappeared has already reported itself. Do not narrate the visible.
  • A modal is open. --nb-zindex-toast resolves above --nb-zindex-modal, so the toast lands on top of the surface the user is actually reading. Report it inside the dialog, and toast the result after it closes.
  • It is one of ten identical results. Ten toasts for ten rows is a wall. Say "3 of 10 rows failed" once, and mark the rows.
  • It happened before this page existed. That is the notification centre.

It must contain a past-tense sentence with no full stop ("Draft saved"), the right variant, and, if it carries one, exactly one action whose label is a verb from Action labels (Try again, Undo, Refresh, never OK or Dismiss). The close button is the exit; a second control meaning "go away" is a coin toss for anyone reading the stack through a screen reader.

Two mechanics worth knowing before you reach for a second toast:

  • One action, one message. Keep the handle push() returns and update() it, so "Saving" becomes "Saved" in place instead of interrupting twice.
  • Toasts are scoped to the moment. Call toast.dismissTransient() from a router guard; mark the few messages that are still true anywhere with retain: true.

The stack below is the real NbToaster on its own queue, teleported into the dashed frame instead of to <body> so it stays inside this page. Raise a success and an error together and watch which one leaves on its own: that is the duration table further down, running. Hover the stack and every countdown stops, because the clock belongs to the region and not to the message. "Route change" is what a router guard calls, and it clears everything except the retained one.

Notice what this demo needs and the confirm demo further down does not: a host. useConfirm() mounts one for itself the first time it is called; useToast() does not. A queue with no NbToaster rendering it still accepts every push and still expires every record on schedule, with nobody watching. The host warns when there are two of them and says nothing when there are none, so the rule above (exactly one <NbToaster /> at the application root) is the only thing standing between a product and a notification surface that silently shows nothing:

Question 3 is the one a toast fails, and it fails it silently. Press the button on the left, then try to recover the request id after it goes:


NbNotificationCenter: the log ​

The bell in topbar-right, and the panel of things that happened while the user was working. It is a container: it holds no store, fetches nothing, polls nothing, marks nothing as read and knows nothing about your domain. What a notification is in your product is yours, and it stays yours: the rows, their source, their read state and what activating one does are all the host's. What this component owns is everything the three hand-built bells agreed on anyway: the trigger, the count, the panel, placement, focus order, the read and unread treatment, and the four states a feed has.

Use it for events with a life longer than the moment: a build finished, a document was approved, an export is ready, someone mentioned you, a key was rotated.

Do not use it for:

  • Anything urgent. The bell is a log, not an alert. A number on an icon is not a way to tell someone that the thing in front of them is broken.
  • A duplicate of every toast. A centre that mirrors the toast queue is a list of things the user already dismissed. Rows go in it because they matter tomorrow, not because they were shown today.
  • State the page can show. If the page can render the truth, render the truth.

A message may legitimately be both a toast and a row, and the test is whether it is still worth reading in an hour. "Export ready" is. "Draft saved" is not.

It must contain, per row, a title, an optional body, a time and a read state. And the panel must distinguish its four states, because collapsing them is the defect this component exists to prevent: loading renders placeholder rows, error renders a failure (with the rows kept and a stale strip when there were already rows), empty renders the #empty state, and rows render rows. Pass itemCount whenever you fill the default slot, or the centre cannot tell an empty feed from a slot you chose not to fill.

Open both bells. They hold the same number of rows and only one of them is worth opening tomorrow:

The four states are the reason this is a component and not a list. Open the panel and flip the controls: loading is not empty, and a failed refresh over rows already loaded keeps the rows and says the refresh failed, rather than reporting an empty feed:


NbModal carries a task: fields, a commit, a cancel. useConfirm() asks a question with a consequence that cannot be undone. Both make the rest of the page unreachable, which is the highest price any surface in this library charges.

Do not use either to deliver information. A dialog whose only control is a button that closes it is window.alert with better typography: it stops the user, takes a click, and leaves nothing behind to re-read. Put the sentence on a banner and let them keep working.

The whole contract for both, including the button rules, the type-to-confirm threshold, focus return and the undo-instead-of-asking alternative, is in Dialogs and destructive confirmation.

Open both. The left one is a real NbModal assembled into a confirmation by hand, primary-styled destructive button included. The right one is useConfirm():

The other misuse is a dialog that only tells you something. The left one blocks the page to deliver a sentence and leaves nothing behind; the right one delivers the same sentence without stopping anybody:


A successful save must say so ​

A save confirmed with nothing at all is the most common absence in this area. The user presses Save, nothing changes, and they press it again to find out whether it worked.

Rule: every commit reports three moments, and no commit reports fewer.

MomentWhat the user gets
StartedThe commit control is :loading, or an NbInlineLoading beside it reads active
WorkedA visible confirmation that persists long enough to read
FailedA mapped, human failure on the surface the work is on, with the values still in place

Which confirmation depends on where the result lands, and there are only two answers:

  • The result is visible on screen (the row appeared, the field now holds the new value, the badge flipped to Published): that is the confirmation. Do not add a toast to narrate it.
  • The result is not visible: confirm it explicitly, with toast.success('Draft saved') when the user has moved on, or an NbInlineLoading at finished when they are still standing at the button.

NbInlineLoading is the cheapest correct answer for a form, because it is the same element for all three moments: active shows label ("Saving"), finished shows finishedLabel ("Saved") for dwell milliseconds and then emits success, and error shows errorLabel. It reserves the width of the longest of the three so the row does not jump. Drive it with useInlineLoading() rather than a hand-written try/catch/finally, which tends to reset the flag before anything can be shown:

vue
<script setup lang="ts">
import { useInlineLoading } from '@nubisco/ui'
const save = useInlineLoading()
</script>

<template>
  <NbButton @click="save.run(() => api.save(form))">Save</NbButton>
  <NbInlineLoading :status="save.status.value" @success="save.reset()" />
</template>

Two consequences that follow from the table and are worth stating outright:

  • A silent success is a bug report waiting to be filed. It is indistinguishable from a dropped request.
  • A confirmation that disappears in under a second has not been shown.dwell defaults to 1600 for that reason, and the toast durations start at 4000.

Press both. They run the same 1.2 second request. One of them tells you it worked:

The failure path is the same element, and it is the one a hand-written try/catch/finally loses when the finally clears the flag first:


Errors never auto-dismiss. Successes do. ​

Lifetime is not a matter of taste. It follows from what the message asks of the reader, and the queue already encodes the answer in NB_TOAST_DURATIONS:

VariantDefault lifeWhy
success4000Four expected words. Reading them twice adds nothing
info6000Unexpected, so it takes longer to place
warning8000A sentence the user did not ask for, about an imperfect outcome
error0Never. "It failed" is the beginning of a task, not the end of one

A toast carrying a cta also resolves to 0 unless you pass a duration yourself: an action that removes itself while it is being reached for is not an action.

A host with no timer lets success messages accumulate forever, and a host with one duration for everything makes failures vanish after four seconds. That is exactly backwards, and it is what this table exists to prevent.

The same logic applies off the toast surface. A banner reporting a failure is not on a timer at all, and must not be wrapped in one. A banner reporting a condition is not dismissible. The only message in this library that is allowed to remove itself unasked is a non-error toast.


An exception the user cannot act on is not a notification ​

An alert() carrying raw exception text and a global handler that only calls console.error (so the failure is invisible) are the same mistake, made in opposite directions: an unhandled exception is a bug report, and a bug report has two audiences.

Split them.

  • To the user: a mapped sentence, on the surface the failed work lives on, built from the three parts in Writing style and the status-to-copy table beside it. TypeError: Cannot read properties of undefined is not a message to a person, and neither is "Something went wrong", which is part one with the noun removed.
  • To you: the original error, with its stack and its request id, in your logger. That is where the exception text belongs, and it is the only place.

Never window.alert, window.confirm or window.prompt. They are unstyled, unthemed, untranslatable, unbypassable, invisible to the toast queue and impossible to test.

If the failure has no user-facing surface at all, because nothing on screen was waiting for it, a persistent error toast is the floor, not a console.error. A failure the user is never told about is a failure they will report as something else.


Ordering, stacking and the cap ​

When several messages arrive at once, four rules apply, all of them already implemented in the queue and the host.

  • Three at a time. createToastQueue() defaults max to 3. Extras are admitted and wait. Raise it on the NbToaster prop only when the host knows better than the queue (a demo, a narrow viewport), because the prop writes through to queue.max and would otherwise overrule a queue that was configured deliberately.
  • Overflow is FIFO. Waiting toasts slide in as visible ones expire. The one exception is a stack where nothing can expire, which happens when every visible slot is held by an error: rather than swallow every later message forever, the oldest visible toast is retired, and its onDismiss fires with reason replaced.
  • Newest sits against the anchored edge. The stack is painted newest-first in the DOM, not with a reversed flex direction, so a keyboard walks it in the same order a screen reader reads it: the sentence just announced first, not yesterday's news.
  • The whole region pauses together. Pointer over the stack, focus inside it, or a hidden tab holds every countdown, and resuming continues from the exact remaining time. This is why the clock lives in the queue and not in the item: an item that owns its own timer cannot know the pointer is resting on its neighbour.

Two more rules that are yours, not the library's:

  • De-duplicate with key. A double-clicked Save produces one "Saved", not two, when the push carries a key.
  • Aggregate before you queue. Loop results are summarised into one message with a count. A burst of eleven is a wall whatever the cap is.

Politeness, role, and why a status is not an alert ​

An alert interrupts whatever the screen reader is currently saying. A status waits its turn. Choosing between them is choosing whether this message is worth cutting someone off for, and the answer is: only when it changes what they should do next.

What the library already decides for you:

SurfaceRolePoliteness
NbMessagestatusassertive for error, else polite
NbBanneralert for status="error", else statusmatches the role
NbToast, standalonealert by defaultassertive for error, else polite
Under NbToasterThe toast is silent (role="none", aria-live="off")The host announces instead
NbInlineLoadingstatuspolite

The toaster's arrangement is the part worth understanding, because three hand-built hosts got it wrong in three different ways:

  • The live regions are mounted empty, for the life of the host. A region and its first message inserted in the same tick is the most common reason a toast is never heard: the node was not being observed when the text arrived.
  • There are two regions, not one, because politeness cannot be changed after the fact. An assertive region that is sometimes polite still interrupts. Errors and warnings go to the assertive one, successes and info to the polite one. Interrupting someone to tell them the thing they asked for worked is rude in a screen reader too.
  • Only the host speaks. Each toast is silenced (role="none", aria-live="off") so the stack does not announce every message twice.
  • The announcement is a full sentence: the severity word, the title, the message, and, when there is an action, that the action exists and the key that reaches it. Severity is in words because the icon is aria-hidden and the accent colour says nothing (WCAG 1.4.1). Translate it once per queue with statusLabels, not once per call.
  • Announcements are spaced, and cleared before they are rewritten, because an identical string written twice is not a change, and a live region only speaks when its content changes. Two consecutive failed saves would otherwise announce once.

If you replace the toast body with the #toast slot, you keep all of this. The only contract that slot has to honour is that something inside it is focusable.

More in Accessibility overview and Keyboard interaction.


The words ​

Message copy is decided once, in Writing style, and action labels once, in Action labels. Read the error construction rule there rather than inventing a sentence shape per product; it is the same three parts (what happened, why, what to do) on every surface on this page.

Three things are peculiar to a message that removes itself:

  • Past tense, no full stop: "Draft saved", not "Your draft has been saved.".
  • Split failure and recovery across title and message: toast.error('Could not reach the server', { title: 'Save failed' }).
  • One verb, from the register. Try again, Refresh, Undo. Never OK, Done, Close or Dismiss.

Never hand-roll any of this ​

Every surface on this page is library code. A hand-built copy loses part of what the component does.

Do not buildUseWhat the hand-built ones lost
A toast host or queue<NbToaster /> + useToast()Auto-dismiss, role="alert", the icon, the action, pause-on-hover, the z-index
A notification bellNbNotificationCenterThe four feed states, and one placement in the topbar
A spinnerNbSpinnerprefers-reduced-motion, one accessible name, one spelling of "Loading"
A skeletonNbSkeletonFive shapes, and one that shares its element with the empty state
A save-state indicatorNbInlineLoading + useInlineLoading()The confirmation, every time the finally cleared the flag first
A confirmation dialoguseConfirm()One mechanic for every confirmation, instead of window.confirm and variants
A field error styleNbMessage, or the control's error propThe aria-describedby wiring from the field to its message

If you have a local Toaster.vue, the replacement is four steps: Replacing a hand-built host.

Tokens. A notification surface touches the tokens its component already uses. It does not invent one. --nb-z-toast does not exist. The real token is --nb-zindex-toast, and a guessed name runs on the CSS fallback without a single visible symptom. The layer order is in Z-index, spacing in Spacing, and the transition rules for a stack that animates in Motion.


Never these ​

  • alert() carrying raw exception text.
  • A global error handler whose entire user-facing behaviour is console.error.
  • A successful save confirmed with nothing at all.
  • A hand-built toast host with no auto-dismiss, so successes accumulate for the life of the route.
  • A hand-built toast host without role="alert", the variant icon, the action or pause-on-hover, with a hardcoded border radius.
  • var(--nb-z-toast), a token that does not exist, silently running on its fallback.
  • A hand-built notification bell, placed by a code comment.
  • A page-level error rendered through NbMessage, a 12px field helper.
  • A NbBanner in the shell notification region saying "Saved", with a hand-written timer added to make it go away.
  • One .empty-text element rendering both "loading" and "empty", so a failed fetch reads as "no contacts yet".
  • Two different spinners in one product, or one that ignores prefers-reduced-motion.
  • Loading… and Loading... in two files of the same application.
  • A toast raised from behind an open modal, landing on top of the dialog the user is reading.

Checklist ​

Apply this to a view you did not write. Every item is checkable by reading the template and the handlers, and each failure names the fix.

Step 1: find every message in the view ​

  • [ ] Grep the view and its handlers for NbMessage, NbBanner, NbToast, toast., alert(, confirm(, prompt(, console.error, and any local component whose name contains Toast, Notification, Alert, Snackbar or Banner.
  • [ ] Every hit from that list is either one of the seven surfaces on this page, or a defect. There is no eighth surface.

Step 2: check nothing is on a blocked or banned surface ​

  • [ ] No window.alert, window.confirm or window.prompt, anywhere.
  • [ ] No local toast host, bell, spinner, skeleton or field-error style. Each has a library component (the table above).
  • [ ] No dialog whose only control closes it. Information does not block.
  • [ ] Exactly one <NbToaster /> in the application, mounted at the root and not per view.

Step 3: check each message against the six questions ​

  • [ ] Nothing on a toast that the user must act on.
  • [ ] Nothing on a toast that must be re-read: no error codes, ids, filenames or lists.
  • [ ] Nothing on a toast whose subject is visible on screen.
  • [ ] No toast raised while a modal or confirm is open.
  • [ ] No page-level or form-level message rendered through NbMessage.
  • [ ] No field-level message rendered through NbBanner.
  • [ ] Every message that is still true after it disappears is a variant="callout" banner, not a dismissible one and not a toast.
  • [ ] Every message about the whole account is in the shell notification region; every message about this page is in the page.

Step 4: check the success path ​

  • [ ] Every commit in the view (save, delete, invite, import, publish, upload) reports started, worked and failed.
  • [ ] The confirmation is visible for at least a second: an on-screen change, an NbInlineLoading at finished, or a success toast.
  • [ ] No confirmation narrates something already visible.
  • [ ] The commit control carries :loading while the request is in flight, and stops the moment it settles.

Step 5: check the failure path ​

  • [ ] No raw exception text, status line or JSON body reaches the screen.
  • [ ] Every failure is mapped with the three parts: what happened, why, what to do next.
  • [ ] A failed submit keeps every value the user typed.
  • [ ] A field-scoped failure is set on the field, not only in a banner.
  • [ ] No error auto-dismisses, on any surface.
  • [ ] Every original error reaches the logger.

Step 6: check the mechanics ​

  • [ ] A router guard calls toast.dismissTransient(), and only messages that are true anywhere carry retain: true.
  • [ ] Repeatable actions push with a key, so a double click is one message.
  • [ ] A loop reports one summarised message with a count, not one per item.
  • [ ] NbNotificationCenter distinguishes loading, error, empty and rows, and slot-filled panels pass itemCount.
  • [ ] A toast carrying an action passes onDismiss and reads the reason, so the commit and the undo cannot both run.

Step 7: check it without a pointer and without colour ​

  • [ ] Every surface was checked with the .dark class applied.
  • [ ] Alt + T reaches the toast stack, its action is operable, Esc dismisses, and focus lands somewhere sensible afterwards.
  • [ ] No message relies on colour alone: the severity is in the icon shape and in the announced word (Colour contrast, Colour).
  • [ ] Nothing announces twice, and nothing announces never.