Skip to main content
Novu exposes render props to customize parts of the default Inbox notification item—subject, body, avatar, default/custom actions, or the entire notification. Notification items Each render prop receives the full notification object, giving you access to all the data needed to build a fully custom UI.

Customize notification subject

Use the renderSubject prop to provide a custom component for the notification’s subject line while keeping the rest of the notification style intact. Customize notification subject

Customize notification body

Use renderBody if you want to keep the default Inbox UI and only change how the body is rendered. This is useful when you want to customize content formatting or include additional fields from the data object. Customize notification body

Customize notification avatar

Use the renderAvatar prop to replace the default notification avatar with your own custom component. This allows you to display user images, icons, or any other visual element that fits your application’s design. Customize the notification avatar

Customize notification actions

Novu provides render props to customize actions:

Default actions

Use the renderDefaultActions prop to override the default action buttons for notifications, such as “Archive,” “Mark as Read,” and “Snooze.” Customize the default actions

Custom actions

Use the renderCustomActions prop to override the primary and secondary actions buttons with your own action button. This is useful for creating unique design and interactions specific to your application. Customize the custom actions

Customize the entire notification item

Use the renderNotification prop to customize the entire notification item in the Inbox UI, including the container, layout, and the content of the subject and body of each notification.
While renderNotification gives you full control over the notification UI, it is not recommended for most use cases. Using it means you will have to re-create the Inbox component built-in actions like mark as read, archive snooze, and other interaction tooltips yourself.
Customize entire notification item