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 🙏

© 2026 – Pkg Stats / Ryan Hefner

reactible-popups

v0.1.7

Published

Reactible-popups allows you to create and customize web popups faster with lots of options.

Readme

Build Status License npm npm

Reactible Popups

Reactible Popups is a versatile and customizable React popup component library designed to meet various popup needs in modern web applications. It offers a single, flexible <Popup> component that can be easily integrated into any React project.

Features

Features 1

Features 2

Features 3

  • TypeScript support for enhanced developer experience
  • Customizable animations for smooth enter/exit transitions
  • Accessibility features including keyboard navigation and screen reader support
  • Multiple trigger options (exit intent, scroll percentage, inactivity timer, etc.)
  • Screen locking capability
  • Configurable open delay
  • Full-screen overlay option
  • Slide-in popup functionality
  • Sticky bar mode
  • Customizable overlay color and opacity
  • Flexible positioning

Installation

npm install reactible-popups

Usage

Here's a basic example of how to use the Reactible Popups component:

import React, { useState } from 'react';
import { Popup } from 'reactible-popups';

const App = () => {
  const [isOpen, setIsOpen] = useState(false);

  return (
    <div>
      <button onClick={() => setIsOpen(true)}>Open Popup</button>
      <Popup
        isOpen={isOpen}
        onClose={() => setIsOpen(false)}
        position="center"
        overlayColor="rgba(0, 0, 0, 0.5)"
        overlayOpacity={0.5}
        closeOnOverlayClick={true}
        closeOnEscapeKey={true}
      >
        <h2>Welcome to our site!</h2>
        <p>This is a demo of our versatile Popup component.</p>
        <button onClick={() => setIsOpen(false)}>Close</button>
      </Popup>
    </div>
  );
};

export default App;

API

The <Popup> component accepts the following props:

  • isOpen (boolean): Controls the visibility of the popup.
  • onClose (function): Callback function to close the popup.
  • children (ReactNode): Content to be displayed inside the popup.
  • position (string, optional): Position of the popup. Options: 'center', 'top', 'bottom', 'left', 'right', 'top-left', 'top-right', 'bottom-left', 'bottom-right'. Default: 'center'.
  • overlayColor (string, optional): Color of the overlay. Default: 'rgba(0, 0, 0, 0.5)'.
  • overlayOpacity (number, optional): Opacity of the overlay. Default: 0.5.
  • closeOnOverlayClick (boolean, optional): Whether to close the popup when clicking on the overlay. Default: true.
  • closeOnEscapeKey (boolean, optional): Whether to close the popup when pressing the Escape key. Default: true.

Future Plans

We are continuously working to improve Reactible Popups and add new features. Here's what we have planned for future releases:

  1. Animations: Add customizable enter/exit animations.
  2. Additional trigger mechanisms: Implement scroll percentage and inactivity timer triggers.
  3. Screen locker: Add the ability to lock the screen behind the popup.
  4. Open delay: Implement a configurable delay before opening the popup.
  5. Full screen mode: Add support for full-screen popups.
  6. Slide-in popup: Implement a slide-in animation option.
  7. Sticky bar: Add a sticky bar mode for the popup.
  8. Enhanced accessibility: Improve keyboard navigation and screen reader support.
  9. Theming system: Implement a theming system for easy customization.
  10. Server-side rendering support: Ensure compatibility with SSR frameworks like Next.js.

We welcome contributions from the community. If you'd like to contribute, please check out our Contributing Guidelines.

License

This project is licensed under the MIT License.