Skip to main content

Installing Notification Control

Add a notification dropdown control to your navigation bar with a single command.

Prerequisites

1

Initialize CLI

Creates your sublay.json. Select react as platform (notifications are web-only).
2

Install Dependencies

See the CLI Setup Guide for details.

Installation Command


What Gets Installed

Only 5 files — much simpler than comment components:

Basic Usage

Make sure your app is wrapped with <SublayProvider>. See the Quick Start Guide for details.

Complete Example


Switching Styling Variants

1

Delete Current Component

2

Update Configuration

3

Re-install


Troubleshooting

Ensure <SublayProvider> wraps the component and signedToken is set correctly.

Next Steps

Props & API

Learn about component props

Customization

Customize colors and layout

Integration Examples

See real-world examples

Overview

Back to overview