Skip to main content

Customizing Notification Control

Since you own the source code, you can customize everything: colors, layout, icons, behavior, and more.

Changing Colors

Styled Variant (Inline Styles)

Open notification-control.tsx and find the colors object:
Change to your brand colors:

Tailwind Variant

Change classes directly in files:

Modifying Layout

Change Dropdown Width

In notification-control.tsx:

Change Max Height

Add Custom Header


Customizing Notification Items

Change Avatar Size

In notification-item.tsx:

Remove Unread Indicator

Add Timestamp


Changing Icons

Change Icon Colors

In notification-icon.tsx, modify getIconConfig:

Use Different Icons

Replace lucide-react icons:

Customizing Time Format

Open utils/notification-utils.ts:

Adding Features

Add Sound on New Notification

Show Count in Page Title


Force Fixed Position

In notification-control.tsx:

Align to Left


Animation Customization

The component uses framer-motion. Modify animations in notification-control.tsx:
Slide in from right instead:

Empty State

Open notification-list.tsx:

Common Customizations

In your trigger component:
In notification-control.tsx, add tabs or filters:

Next Steps

Integration Examples

See real-world examples

Props & API

Component props reference

Installation

Installation guide

Overview

Back to overview