Light Modal Block
by David Jensen on WordPress.org

Block editor modal settings
A simple yet robust solution for creating modals within the WordPress block editor.
Features
- Fully customizable using the native block editor style controls
- Trigger modal on click for any element via CSS selector
- Trigger modal on page load after X milliseconds
- Set cookie to not show modal again on page load until X minutes have elapsed
- Option for user interaction within modal triggers cookie to be set
- Custom modal width
- Optional close button
- API enabled
- Only 2kb gzipped
- Accessibility enabled
- Use modals within the query loop block
Attribution
The Light Modal block uses a modified version of the Micromodal library.
Active installations1K+
Weekly downloads
883+606.40%
Version1.7.1
Last updated8/21/2025
WordPress version6.6
Tested up to6.8.2
PHP version7.0
Tags
blockgutenberglightboxmodalpopup