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)
Opennotification-control.tsx and find the colors object:
Tailwind Variant
Change classes directly in files:Modifying Layout
Change Dropdown Width
Innotification-control.tsx:
Change Max Height
Add Custom Header
Customizing Notification Items
Change Avatar Size
Innotification-item.tsx:
Remove Unread Indicator
Add Timestamp
Changing Icons
Change Icon Colors
Innotification-icon.tsx, modify getIconConfig:
Use Different Icons
Replace lucide-react icons:Customizing Time Format
Openutils/notification-utils.ts:
Adding Features
Add Sound on New Notification
Show Count in Page Title
Dropdown Positioning
Force Fixed Position
Innotification-control.tsx:
Align to Left
Animation Customization
The component uses framer-motion. Modify animations innotification-control.tsx:
Empty State
Opennotification-list.tsx:
Common Customizations
Change badge color
Change badge color
In your trigger component:
Add notification categories
Add notification categories
In
notification-control.tsx, add tabs or filters:Add confirmation before mark all read
Add confirmation before mark all read
Next Steps
Integration Examples
See real-world examples
Props & API
Component props reference
Installation
Installation guide
Overview
Back to overview

