Skip to main content

Prerequisites

Before using the AppSloth Inbox component, make sure you’ve:
  1. Set up AppSloth in your project
  2. 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:
  1. Real-time Updates: Automatically polls for new notifications
  2. Tabbed Interface: Separate tabs for new and archived notifications
  3. Search Functionality: Search through archived notifications
  4. Unread Badges: Visual indicator for unread notifications
  5. Customizable UI: Extensive styling and configuration options
  6. 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:
  1. Log into your AppSloth Dashboard
  2. Navigate to the “Notifications” section
  3. Manage your notifications:
    • Create new notifications
    • View delivery statistics
    • Analyze engagement metrics
    • Configure notification rules
AppSloth Notifications Dashboard

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