npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

notificare-react-preview-components

v1.1.0

Published

A set of React components for your admin applications that lets you preview how Notificare notifications, in-app messages, and wallet passes will appear on a user’s device.

Readme

Notificare React Preview Components

GitHub release License

The Notificare React Preview Components consists of a collection of React components that allows you to visualize how a Notificare push notification, in-app message or wallet pass (coming soon...) will appear in a user's device.

Table of contents

Features

Push notifications: Easily preview how a Notificare push notification will appear across various platforms and devices. With very intuitive UI controls, you can seamlessly switch between different preview variants to see how it looks like in various platforms and form-factors.

In-app messages: See how a Notificare in-app message will appear on a mobile device — whether it’s a card, banner, or full-screen view.

Installation

Install the library through NPM with the following command:

npm install notificare-react-preview-components

Requesting a service key

Before you can take advantage of the library's full potential, you'll need to request a service key. This key is required for authentication and access to certain features such as previewing push notifications. Learn how to request a service key.

Getting started

Getting up and running with this component library is quick and easy. Each component is designed to be modular and flexible, so you can integrate them seamlessly into your existing React application. Whether you’re building something small or scaling up a larger project, the process is the same: simply import the components you need and place them wherever they make the most sense in your UI.

Below are basic examples for each component to show how they work. Be sure to check the documentation for each component to explore available props and customization options.

Push notifications

A push notification preview can be generated through the NotificareNotificationPreview component.

import { NotificareNotificationPreview } from 'notificare-react-preview-components';

export default function NotificationComposer() {
  return (
    <NotificareNotificationPreview
      applicationId="..."
      notification={...}
      serviceKey="..."
    />
  )
}

Check the component documentation for more information.

In-app messages

An in-app message preview can be generated through the NotificareInAppMessagePreview component.

import { NotificareInAppMessagePreview } from 'notificare-react-preview-components';

export default function InAppMessageComposer() {
  return (
    <NotificareInAppMessagePreview
      inAppMessage={...}
    />
  )
}

Check the component documentation for more information.

Theming

Our React component library is designed with both flexibility and reliability in mind. All components are easy to customize—styles can be effortlessly overridden using your own CSS, allowing seamless integration with your app or website’s design system.

We’ve also prioritized style isolation to prevent conflicts. By using scoped, predictable class naming conventions, the library ensures that its styles won’t clash with your existing codebase.

For example, to adjust the size of the loading animation, you can simply add the following CSS:

.notificare .notificare__loading__icon {
    width: 48px;
    height: 48px;
}

Localisation

Regardless of the preview component you're using, you can select which language will be used in the UI controls and in the preview itself. Components will be automatically translated based on the chosen language, if default translations are available. Furthermore, you can also provide fully customizable translations, allowing you to personalize components to your liking.Check each component's documentation for more details on how to implement this.