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:
Or extend tailwind.config.js:

Modifying Layout

Change Dropdown Width

In notification-control.tsx:

Change Max Height

Add Custom Header


Customizing Notification Items

Change Avatar Size

Open notification-item.tsx:

Remove Unread Indicator

Add Timestamp Badge


Changing Icons

Change Icon Colors

Open notification-icon.tsx and modify getIconConfig:

Use Different Icons

Replace lucide-react icons with your own:

Customizing Time Format

Open utils/notification-utils.ts:

Adding Features

Add Confirmation Before Mark All Read

In notification-control.tsx:

Add Sound on New Notification

Add Desktop Notifications


Force Fixed Positioning

In notification-control.tsx, change positioning strategy:

Align to Left


Animation Customization

The component uses framer-motion. Modify animations:
Change animation style:

Empty State Customization

Open notification-list.tsx and find the empty state:

Loading State Customization

Change skeleton loader appearance:

Common Customizations

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

Next Steps

Integration Examples

See real-world examples

Props & API

Component props reference

Installation

Installation guide

Overview

Back to overview