Skip to main content
Version: 1.0.3

Notification Settings Page

Overview

The Notification Page provides centralized control over notification preferences: toggle email, push, and SMS notifications; set notification frequency (real-time, daily digest, or weekly summary); control notification types (marketing, updates, alerts); and unsubscribe from all notifications with a single action. It supports both a grid layout and a collapsible list (accordion) layout for compact displays, plus light/dark/auto theme variants.

Preview

NotificationsActive

Manage your notification preferences and stay informed about what matters to you.

Notification channels

Choose how you want to receive notifications across different channels.

Email notifications

Receive notifications via email

Push notifications

Receive push notifications on your device

SMS notifications

Receive important alerts via SMS

Notification types

Select which types of notifications you want to receive.

Marketing

Promotional offers, product updates, and newsletters

Updates

Account updates, feature announcements, and system changes

Alerts

Security alerts, important warnings, and critical updates

Notification frequency

Choose how often you want to receive notifications.

You'll receive notifications immediately as they happen.

Unsubscribe from all

Disable all notifications at once. You can re-enable them anytime.

Installation

ignix add template notification-page

Features

  • Notification channels with toggles for Email, Push, and SMS notifications
  • Notification frequency selection (Real-time, Daily digest, Weekly summary)
  • Notification types control (Marketing, Updates, Alerts) with individual toggles
  • Unsubscribe from all with confirmation dialog
  • Save preferences button with loading and success states
  • Status badge showing "Active" or "Inactive" based on enabled channels
  • Layouts: grid (two-column cards) or list (accordion/fold/unfold)
  • Themes: light, dark, auto; responsive with mobile-friendly design

Props

PropTypeDefaultDescription
titlestring"Notifications"Page heading text
descriptionstringDescription under the headingSubheading / helper copy
variant"light" | "dark" | "auto""dark"Background/theme variant
layout"grid" | "list""grid"Grid cards or accordion list layout

Usage Examples

Grid layout (dark)

<NotificationSettingsPage
variant="dark"
layout="grid"
title="Notifications"
description="Manage your notification preferences and stay informed about what matters to you."
/>;

List layout (accordion)

<NotificationSettingsPage
variant="light"
layout="list"
title="Notifications"
description="Compact accordion layout for mobile and dense pages."
/>;

Auto theme

<NotificationSettingsPage
variant="auto"
layout="grid"
title="Notifications"
description="Adapts to your app or system theme."
/>;

Notes

  • Each notification channel (Email, Push, SMS) can be toggled independently.
  • Frequency selection affects how notifications are delivered across all enabled channels.
  • Notification types (Marketing, Updates, Alerts) provide granular control over content categories.
  • The "Unsubscribe from all" action disables all channels and types but requires saving to persist.
  • The save button shows loading state during API calls and success state after saving.
  • Status badge dynamically updates based on whether any notification channel is enabled.