Skip to content

NOTIFY ​

Implementation: experimental · Proposal: in-review (status checked 2026-10-31). Notification binding ships with limited dedicated domain regression evidence; broader host integration confidence is unverified. All capabilities remain subject to change. Maturity and opt-in policy.

Shell-rendered notifications, badges, and interaction callbacks.

ts
const { notificationId } = await window.napplet.notify.send({ title: 'New message', body: 'Alice: hey!' });
window.napplet.notify.badge(3);
window.napplet.notify.onAction((id, actionId) => { if (actionId === 'reply') openReply(id); });

This non-normative guide defers to the living NAP-NOTIFY proposal. Feature-gate with if (window.napplet?.notify) before use; the runtime injects only available domains. Typed helpers ship from @napplet/nap/notify and @napplet/sdk.

Released under the MIT License.