Skip to main content

Installing Notification Control

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

Prerequisites

Before installing, ensure you’ve completed CLI setup:
1

Initialize CLI

Creates your replyke.json configuration file.
2

Install Dependencies

Required for React (Web). CLI will check for these.
See the CLI Setup Guide for details.

Installation Command


What Gets Installed

The CLI will copy 5 files into your project:
Total: 5 files - Much simpler than comment components!

CLI Output Example


Basic Usage

After installation, import and use the component:
Make sure your app is wrapped with <ReplykeProvider>. See the Quick Start Guide for setup details.

With Custom Bell Icon

Using lucide-react icons:

Complete Example


Switching Styling Variants

If you want to switch between Tailwind and Inline Styles after installation:
1

Delete Current Component

2

Update Configuration

Edit replyke.json:
3

Re-install


Verification

1

Check Files Exist

2

Try Importing

3

Run Dev Server

The component should render without errors.

Troubleshooting

Make sure your import path matches your componentsPath:
Install lucide-react:
Ensure @replyke/react-js is properly configured:

Next Steps

Props & API

Learn about component props

Customization

Customize colors and layout

Integration Examples

See real-world examples

Overview

Back to overview