Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

iampearceman/add-inbox

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add Inbox

A CLI command to easily add Novu's notification inbox component to your React or Next.js project.

Installation & Usage

You can use this tool without installing it by running:

npx add-inbox@latest

This will guide you through an interactive process to add the Novu Inbox component to your project.

Features

  • ✅ Interactive CLI prompts for selecting framework and TypeScript options
  • ✅ Support for React and Next.js
  • ✅ Support for Tailwind CSS styling
  • ✅ Automatic dependency installation
  • ✅ Component creation in your project's component directory
  • ✅ Environment variable setup for Novu configuration

Example Usage in Your App

import NovuInbox from '@/components/ui/inbox/novuInbox';

// Inside your component
return (
  <div>
    <header className="flex justify-between items-center">
      <h1>My App</h1>
      <NovuInbox />
    </header>
  </div>
);

Configuration

Make sure to set up your Novu application ID:

For React:

NOVU_APP_ID=your_app_id_here

For Next.js:

NEXT_PUBLIC_NOVU_APP_ID=your_novu_app_id_here

About

A CLI command to easily add Novu's notification inbox component to your React or Next.js project.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.