novuhq/novu/inbox-integration
Claude Code and agent skill by novuhq/novu
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
Integrate Novu's in-app notification inbox into web applications. Supports React, Next.js, and vanilla JavaScript. Includes the Inbox component (bell icon + notification feed), composable components (Bell, Notifications, InboxContent, Preferences), headless hooks, branded theming, custom render props, multi-tenancy via contexts, tabs, localization, and HMAC security. Use when adding an in-app notification center, bell icon, notification feed, real-time notification updates, or building a person…
Install
npx vskill@latest install novuhq/novu/inbox-integrationSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as novuhq/novu/inbox-integration.
Inbox Integration
Add an in-app notification center to your web application. The Inbox component provides a bell icon, notification feed, read/archive management, action buttons, and real-time WebSocket updates — all theme-able and personalizable to match your product.
Packages
| Package | Use For | |
|---|---|---|
@novu/react | React 18/19 applications | |
@novu/nextjs | Next.js (App Router + Pages Router) | |
@novu/js | Vanilla JavaScript / non-React frameworks |
React Quick Start
This renders a bell icon with unread count. Clicking it opens a popover with the notification feed.
Next.js
App Router
Important: The Inbox is a client component — use "use client" directive in Next.js App Router.
Pages Router
Composable Components
The <Inbox> component is composable. When you pass children, it acts as a context provider and you compose the UI from primitives:
| Component | Purpose | |
|---|---|---|
<Bell /> | Bell icon with unread count | |
<Notifications /> | Notification feed (header + list + footer) | |
<InboxContent /> | Same as <Notifications /> plus the Preferences page | |
<Preferences /> | Standalone preferences panel |
Use these primitives to build a custom popover, modal, drawer, or full-page notification experience.
Branding the Inbox
The Inbox is fully themeable via the appearance prop. It supports four keys:
| Key | Purpose | |
|---|---|---|
baseTheme | Apply a predefined theme (e.g. dark) | |
variables | Global design tokens (colors, fonts, radius, severity colors) | |
elements | Per-element styles (style object, class string, or context callback) | |
icons | Replace built-in icons with your own React components |
Styles are auto-injected into <head> (or the shadow root if rendered inside a shadow DOM). When both baseTheme and variables are provided, variables win.
Inspiration: the Inbox Playground showcases pre-styled variants like Notion and Reddit.
Dark mode (and other base themes)
Global variables
Element-level styling (Tailwind, CSS Modules, inline styles)
Each element accepts a string of class names, a style object, or a function (context) => string for runtime conditionals.
To find an element key, inspect the DOM: any class starting withnv-(visible just before a 🔔 emoji in DevTools) maps to a key inappearance.elements(drop thenv-prefix). TS autocomplete lists all available keys.
Custom icons
Replace any built-in icon by returning a React component from appearance.icons:
Common icon keys: bell, cogs, dots, arrowDown, arrowDropDown, arrowLeft, arrowRight, check, clock, trash, markAsRead, markAsUnread, markAsArchived, markAsUnarchived, email, sms, push, inApp, chat. To find more, inspect classes that start with nv- and contain a 🖼️ emoji.
Severity styling
Notifications and the bell are styled by severity (high, medium, low). Override colors via variables:
Severity is a visual dial only. The workflow-levelcritical: trueflag is independent — it changes runtime delivery (bypass preferences, skip digest), not Inbox styling.criticalworkflows that should also stand out visually should setseverity: 'high'explicitly. See `design-workflow/references/severity-and-critical.md` for the full design rules.
…or per element:
By default the bell takes the color of the highest-severity unread notification.
Responsive Inbox
See Branding & Styling Reference for the full variable list, severity element keys, dynamic callback signatures, and Notion/Reddit-style presets.
Personalization
Render props
Override individual parts of a notification — keep the surrounding chrome (action buttons, hover state, etc.) intact:
Use renderNotification only when you need full control of the item — you'll need to re-implement default actions (mark as read, archive, snooze) yourself.
Conditional display
renderNotification receives the full notification — branch on tags, data, severity, or workflow.identifier:
HTML in notification content
To render rich HTML in subject / body:
- Disable Disable content sanitization in the In-App step in your workflow.
- Render with
dangerouslySetInnerHTMLin a render prop:
Only enable this if you fully control the trigger payload — raw HTML opens an XSS surface area.
Notification click behavior
Hook the Inbox into your router. Novu calls routerPush with the redirect.url defined in your workflow:
Works with React Router (useNavigate()), Remix (useNavigate()), Gatsby (navigate()), and any custom router.
See Personalization Reference for full render-prop signatures, renderCustomActions styling examples, popover composition with Radix / shadcn Drawer, and conditional UI patterns.
Tabs
Group notifications into tabs by tags, severity, or `data` properties:
- Tags are workflow-level — assign them in the workflow editor. Multiple tags use
ORlogic. - Severity comes from the In-App step's severity setting (
HIGH,MEDIUM,LOW). - `data` comes from the data object defined per In-App step.
Use the `useCounts` hook to render unread counts per tab.
Multi-Tenancy with Contexts
Use Contexts to scope the Inbox to a tenant, workspace, or feature area. The Inbox shows only notifications whose trigger context matches the Inbox context exactly.
1. Trigger workflows with context
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/.mintlify/skills/inbox-integration/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/novuhq/novu/inbox-integration)