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 popup and tooltip dialog block utility, multiple trigger options, and supports anchor placements

0.6.0(1mo ago)146.9k↓23.4%1[3 issues](https://github.com/humanmade/popup/issues)[2 PRs](https://github.com/humanmade/popup/pulls)GPL-2.0-or-laterJavaScriptCI passing

Since Aug 6Pushed 1mo ago10 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (31)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

46

—

FairBetter than 92% of packages

Maintenance88

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.7% 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 ~44 days

Recently: every ~24 days

Total

16

Last Release

38d 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 (62 commits)")[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (11 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

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

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

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

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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