PHPackages                             humanmade/popup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. humanmade/popup

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

humanmade/popup
===============

An exit intent popup block that shows when someone may be about to leave the site

0.5.3(2mo ago)144.8k↓37.1%1[1 PRs](https://github.com/humanmade/popup/pulls)GPL-2.0-or-laterJavaScriptCI passing

Since Aug 6Pushed 2mo ago12 watchersCompare

[ Source](https://github.com/humanmade/popup)[ Packagist](https://packagist.org/packages/humanmade/popup)[ RSS](/packages/humanmade-popup/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (24)Used By (0)

Popup Block
===========

[](#popup-block)

A lightweight, modern popup block for WordPress that displays any content as a modal dialog.

Features
--------

[](#features)

### Trigger Modes

[](#trigger-modes)

- **Click trigger** - Open popup from any link or button by setting the URL to `#your-popup-id`
- **Exit intent** - Automatically show popup when user moves cursor to leave the page

### Display Styles

[](#display-styles)

- **Centered modal** - Default full-screen overlay with centered content
- **Left sidebar** - Slide-in panel from the left edge
- **Right sidebar** - Slide-in panel from the right edge

### Anchor Positioning

[](#anchor-positioning)

Position popups relative to their trigger button using CSS anchor positioning:

- **Bottom** / Bottom Start / Bottom End
- **Top** / Top Start / Top End
- **Left** / Left Start / Left End
- **Right** / Right Start / Right End

Anchored popups automatically reposition when they would overflow the viewport.

### Styling Options

[](#styling-options)

- Customizable backdrop opacity (0-100%)
- Backdrop background color support
- Backdrop background image support
- Full layout controls for popup content width

### Accessibility

[](#accessibility)

- Built on native HTML `` element
- Keyboard accessible (Escape to close)
- Click backdrop to close
- Add close buttons with `#close` URL

Usage
-----

[](#usage)

1. Add a Popup Block to your page
2. Set an anchor/ID for the popup (e.g., `my-popup`)
3. Add your content inside the popup
4. Create a button or link with URL `#my-popup` to trigger it

### Exit Intent Popup

[](#exit-intent-popup)

1. Add a Popup Block and set trigger to "On exit intent"
2. Configure cookie expiration (days before showing again)
3. The popup will appear when users move to leave the page

### Anchored Popup

[](#anchored-popup)

1. Add a Popup Block with click trigger
2. Enable "Use Anchoring" in block settings
3. Select anchor position (bottom, top, left, right, etc.)
4. The popup will appear attached to the trigger button

Requirements
------------

[](#requirements)

- WordPress 6.1+
- PHP 7.0+

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance87

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 84.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~45 days

Recently: every ~5 days

Total

14

Last Release

68d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77dbeefb7745010589603f2ffc6ff310d8f700b58e08d52af190744c43342526?d=identicon)[roborourke](/maintainers/roborourke)

---

Top Contributors

[![roborourke](https://avatars.githubusercontent.com/u/23417?v=4)](https://github.com/roborourke "roborourke (58 commits)")[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (11 commits)")

### Embed Badge

![Health badge](/badges/humanmade-popup/health.svg)

```
[![Health](https://phpackages.com/badges/humanmade-popup/health.svg)](https://phpackages.com/packages/humanmade-popup)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
