Effects · Gutenberg

Notification Toast block for WordPress

Animated social-proof toast notifications that cycle in the corner of the screen — 'Sarah just signed up', 'Tom upgraded to Pro', etc.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Animated social-proof toast notifications that cycle in the corner of the screen — 'Sarah just signed up', 'Tom upgraded to Pro', etc.

Inspector panels on this block: Notifications (, Behaviour, Appearance. Those titles come from index.js, not from a shared template.

Behavior controls: “Position” options: Bottom Left, Bottom Right, Top Left, Top Right; “Animation” options: Slide in, Fade in, Pop in; “Toast Style” options: Shadow (elevated), Bordered, Flat (minimal).

Where to find it

Gutenberg inserter → Effects → search “Notification Toast” (block name `blockenberg/notification-toast` in block.json). Style it in the sidebar after insert.

How to use Notification Toast block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Notification Toast”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Notifications (. Set “Name”, “Message”, “Time label”, “Position”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
NameText field in the inspector. Saved as `notifications`.
MessageText field in the inspector. Saved as `notifications`.
Time labelText field in the inspector. Saved as `notifications`.
PositionSelect control; the chosen value is saved on the block. Options: Bottom Left; Bottom Right; Top Left; Top Right. block.json default: bottom-left. Saved as `position`.
Interval between toasts (s)Numeric range control in the inspector. Range 1–20. block.json default: 4. Saved as `interval`.
Display duration (s)Numeric range control in the inspector. Range 1–10. block.json default: 3. Saved as `displayDuration`.
AnimationSelect control; the chosen value is saved on the block. Options: Slide in; Fade in; Pop in. block.json default: slide. Saved as `animateType`.
Loop notificationsOn/off toggle in the inspector. On by default. Saved as `loop`.
Show each session only onceOn/off toggle in the inspector. Off by default. Saved as `showOnce`.
Toast StyleSelect control; the chosen value is saved on the block. Options: Shadow (elevated); Bordered; Flat (minimal). block.json default: shadow. Saved as `toastStyle`.
Max Width (px)Numeric range control in the inspector. Range 200–500. block.json default: 320. Saved as `maxWidth`.
Border Radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `borderRadius`.
Show avatarOn/off toggle in the inspector. On by default. Saved as `showAvatar`.
Avatar Size (px)Numeric range control in the inspector. Range 28–60. block.json default: 40. Saved as `avatarSize`.
Show icon/emojiOn/off toggle in the inspector. On by default. Saved as `showIcon`.
Show time labelOn/off toggle in the inspector. On by default. Saved as `showTimeAgo`.
Icon Size (px)Numeric range control in the inspector. Range 12–40. block.json default: 20. Saved as `iconSize`.
Time Size (px)Numeric range control in the inspector. Range 8–18. block.json default: 11. Saved as `timeSize`.
Toast BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `toastBg`.
Toast BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `toastBorder`.
Name ColorColor control in the inspector. block.json default: #111827. Saved as `nameColor`.
Message ColorColor control in the inspector. block.json default: #6b7280. Saved as `textColor`.
Time ColorColor control in the inspector. block.json default: #9ca3af. Saved as `timeColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Notification Toast block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Notification Toast”. It sits under Effects. After insert, open Notifications ( and set “Name”, “Message”, “Time label”, “Position”.

What makes Notification Toast different from other Blockenberg blocks?

Animated social-proof toast notifications that cycle in the corner of the screen — 'Sarah just signed up', 'Tom upgraded to Pro', etc. Inspector labels on this block include “Name”, “Message”, “Time label”, “Position”.

Is the Notification Toast Gutenberg block free?

Yes. Notification Toast ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Notification Toast to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Notifications (, Behaviour, Appearance).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Notification Toast from the Gutenberg inserter.

Get Blockenberg