Home Plugins light modal block
Light Modal Block logo

Light Modal Block

by David Jensen on WordPress.org

Lightweight, customizable modal block for the WordPress block editor

(8)
Block editor modal settings

Block editor modal settings

A simple yet robust solution for creating modals within the WordPress block editor.

🚀 View Demo

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