Headless Inbox
A lightweight, standalone package for building custom in-app notification interfaces with Novu, providing essential functionalities and flexibility.
The headless version of Novu’s notification library package provides users with a lightweight solution for integrating notification functionality into their web applications. With just the essential API methods, users can easily incorporate our notification system into any framework or vanilla JavaScript project, without being constrained by our default UI or dependencies. The SDK includes real-time notifications through a WebSocket connection and can be safely used across web browsers.
Get Started
Installation
Import Package
Initialize Session
Fetch Notifications
Display notifications
in your UI.
Realtime Notifications
Events are emitted when notifications are received, and when the unread notificatons count changes. novu.on()
is used to listen to these events.
Was this page helpful?