Prerequisites
Before using the AppSloth Inbox component, make sure you’ve:- Set up AppSloth in your project
- Installed the required shadcn/ui components:
Adding the Inbox Component
The AppSloth Inbox component provides a customizable notification center for your application. It includes features like real-time notifications, tabbed interface for new and archived notifications, search functionality, and customizable styling. Adding the Inbox component to your application is straightforward:Position your Inbox component where it’s easily accessible to users. Common
placements include the navigation bar or header area, typically aligned to the
right side.
How It Works
The Inbox component provides a comprehensive notification system:- Real-time Updates: Automatically polls for new notifications
- Tabbed Interface: Separate tabs for new and archived notifications
- Search Functionality: Search through archived notifications
- Unread Badges: Visual indicator for unread notifications
- Customizable UI: Extensive styling and configuration options
- Timestamp Display: Configurable timestamp formatting
Customization Options
The Inbox component is highly customizable through props:Button and Badge Customization
Customize the trigger button and unread badge:Tab Customization
Customize the tabs for new and archived notifications:Search and Empty States
Configure search behavior and empty state messages:Custom Notification Rendering
Provide custom rendering for notification items:Component Props
Viewing Notifications in the Dashboard
All notifications can be managed and analyzed in your AppSloth Dashboard:- Log into your AppSloth Dashboard
- Navigate to the “Notifications” section
- Manage your notifications:
- Create new notifications
- View delivery statistics
- Analyze engagement metrics
- Configure notification rules
Next Steps
Now that you’ve added AppSloth Inbox to your application, explore more features:Banners
Create eye-catching banners to highlight important announcements
Feedback
Collect and manage user feedback to improve your product
Retention Modal
Collect feedback and present salvage offers when users try to cancel
